Go

Go-Package Intro : Go for Beginners

Go-Package Intro : Go for Beginners

In this article we will learn some basic about Go package directory. Here we will learn to create and use our own packages. We will also learn to install remote packages. However, if you don’t know go’s basic convention and use of packages, please visit my previous post Go: For beginners before starting this one. Package directory: Assuming you know what packages for, we will start with creating a new package in the go workspace.
Hello! Go: GoLang For Beginners

Hello! Go: GoLang For Beginners

Welcome to the world of Go, let’s start exploring! Go is a fast-compiled, garbage-collected, concurrent systems programming language. It has the following advantages: Compiles a large project within a few seconds. Provides a software development model avoiding most of the problems associated with C-style header files, which is easy to reason about. Is a static language that does not have levels in its type system, so users do not need to spend much time dealing with relations between types.
How to Create an Extremely Fast and Secure Static Website for Free in Minutes

How to Create an Extremely Fast and Secure Static Website for Free in Minutes

Ever thought about building a blog, a company site, a portfolio site, documentation, a single landing page or a website with thousands of pages ? By the end of this article, you will be able to create one. Generally, you need to know HTML, CSS and some JavaScript to develop a website. But, for this, you don’t need much coding skills. You just need basic computer skills.

Creating a New Theme

Introduction This tutorial will show you how to create a simple theme in Hugo. I assume that you are familiar with HTML, the bash command line, and that you are comfortable using Markdown to format content. I’ll explain how Hugo uses templates and how you can organize your templates to create a theme. I won’t cover using CSS to style your theme. We’ll start with creating a new site with a very basic template.
(Hu)go Template Primer

(Hu)go Template Primer

Hugo uses the excellent Go html/template library for its template engine. It is an extremely lightweight engine that provides a very small amount of logic. In our experience that it is just the right amount of logic to be able to create a good static website. If you have used other template systems from different languages or frameworks you will find a lot of similarities in Go templates.

Getting Started with Hugo

Step 1. Install Hugo Go to Hugo releases and download the appropriate version for your OS and architecture. Save it somewhere specific as we will be using it in the next step. More complete instructions are available at Install Hugo Step 2. Build the Docs Hugo has its own example site which happens to also be the documentation site you are reading right now. Follow the following steps: Clone the Hugo repository Go into the repo Run hugo in server mode and build the docs Open your browser to http://localhost:1313 Corresponding pseudo commands: