-
In Go, distributing or deploying your application requires you to build your code into a shareable binary executable. To do this, you can use the Go toolchain to build and install your program. In this tutorial, you w...
•
By
Gopher Guides
Go
-
Tutorial
Go is a modern programming language developed at Google. It is increasingly popular for many applications and at many companies, and offers a robust set of libraries. This tutorial will walk you through downloading an...
•
By
Brennen Bearnes
Go
Ubuntu 18.04
-
Struct tags are small pieces of metadata attached to fields of a struct that provide instructions to other Go code that works with the struct. When you read information from systems such as databases, or APIs, you can...
•
By
Gopher Guides
Go
Development
-
This article will walk you through understanding what the GOPATH is, how it works, and how to set it up. This is a crucial step for setting up a Go development environment, as well as understanding how Go finds, insta...
•
By
Gopher Guides
Go
Development
-
Comments are lines that exist in computer programs that are ignored by compilers and interpreters. Including comments in programs makes code more readable for humans as it provides some information or explanation abou...
•
By
Gopher Guides
Go
Development
-
In Go, data types are used to classify one particular type of data, determining the values that you can assign to the type and the operations you can perform on it. When programming, there are times you will need to c...
•
By
Gopher Guides
Go
Development
-
The “Hello, World!” program is a classic and time-honored tradition in computer programming. It's a simple and complete first program for beginners, and it's a good way to make sure your environment is properly config...
•
By
Gopher Guides
Go
Development
-
Go packages are directories that consist of Go code. This tutorial will guide you through writing Go packages for use within other programming files.
•
By
Gopher Guides
Go
Development
-
In this tutorial, you will use the Go flag -ldflags to change the value of variables at build time and introduce your own dynamic information into a binary, using a sample application that prints version information t...
•
By
Gopher Guides
Go
Development
-
Using for loops in Go allow you to automate and repeat tasks in an efficient manner. Learning how to control the operation and flow of loops will allow for customized logic in your program. You can control your loops ...
•
By
Gopher Guides
Go
Development
-
Making use of packages allows us to make our programs more robust and powerful. This tutorial will walk you through installing, importing, and aliasing packages.
•
By
Gopher Guides
Go
Development
-
This article will cover the array and slice data structures in the Go Programming language, which will provide you with the necessary information to make the appropriate choice when choosing between them. You'll also ...
•
By
Gopher Guides
Go
Development
-
Tutorial
In this tutorial, you will build a "Hello World" web application in Go and deploy it on an Ubuntu 18.04 server using Nginx as a reverse proxy. Go is a general-purpose programming language that is gradually becoming on...
•
By
Michael Okoh
Nginx
Go
Applications
Ubuntu 18.04
Open Source
Programming Project
-
Go is a programming language that was designed for fast compilation, ease of programming, and efficient execution in production. This tutorial will guide you through installing and configuring a programming workspace ...
•
By
Gopher Guides
Go
Development
-
Tutorial
Go is a modern programming language developed by Google that uses high-level syntax similar to scripting languages. It is popular for many applications and at many companies, and has a robust set of tools and over 90,...
•
By
Brook Shelley
Go
Ubuntu
-
In this tutorial you'll explore various ways to use the flag package to build different kinds of command-line utilities. You'll use a flag to control program output, introduce positional arguments where you mix flags ...
•
By
Gopher Guides
Go
Development
-
Tutorial
In this tutorial, you will deploy an example Go web application with gorilla/mux as the request router and Nginx as the web server, all inside Docker containers, orchestrated by Docker Compose. You'll use nginx-proxy ...
•
By
Savic
Go
Docker
Nginx
Deployment
Let's Encrypt
Ubuntu 18.04
-
Go supports cross-platform compiling by building support for multiple platforms directly into the go build tool. By using the GOOS and GOARCH environment variables and build tags, you can control which OS and architec...
•
By
Gopher Guides
Go
Development
-
In Go, a build tag, or a build constraint, is an identifier added to a piece of code that determines when the file should be included in a package during the build process. This allows you to build different versions ...
•
By
Gopher Guides
Go
Development
-
Go is a programming language that was designed for fast compilation, ease of programming, and efficient execution in production. This tutorial will guide you through installing and configuring a programming workspace ...
•
By
Gopher Guides
Go
Development
Ubuntu 18.04