Go

Go (or GoLang) is a modern programming language popular for its minimal syntax and support for concurrency, as well as for the ease it provides in building native binaries on foreign platforms.

Go subscription active
You will receive email notifications for new publications on Go.
84 Results
  • How To Build and Install Go Programs

    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
  • Understanding Pointers in Go

    When writing software in Go you'll be writing functions and methods. You pass data to these functions as arguments. Sometimes, the function needs a local copy of the data, and you want the original to remain unchanged...
    By Gopher Guides Go Development
  • Tutorial

    How To Install Go on Ubuntu 18.04

    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
  • How To Convert Data Types in Go

    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
  • How To Write Comments in Go

    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
  • Tutorial

    How To Use Go with MongoDB Using the MongoDB Go Driver

    Like the other official MongoDB drivers, the Go driver is idiomatic to the Go programming language and provides an easy way to use MongoDB as the database solution for a Go program. In this tutorial you'll get started...
    By Ayooluwa Isaiah Go MongoDB Databases
  • Tutorial

    How To Install Go 1.6 on Ubuntu 14.04

    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
  • How To Use Struct Tags in Go

    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
  • Understanding Arrays and Slices in Go

    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
  • How To Write Your First Program in Go

    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
  • Tutorial series

    How To Code in Go

    Go (or GoLang) is a modern programming language originally developed by Google that uses high-level syntax similar to scripting languages. It is popular for its minimal syntax and innovative handling of concurrency, a...
    By Gopher Guides Go Development Ubuntu 18.04
  • Tutorial

    How To Host a Website with Caddy on Ubuntu 18.04

    Caddy is a web server designed around simplicity and security that comes with a number of features that are useful for hosting websites. In this tutorial, you'll build Caddy from source and use it to host a website se...
    By Mateusz Papiernik, Tom Stoneham, Savic Ubuntu 18.04 Go Let's Encrypt
  • Tutorial

    How To Deploy a Go Web Application Using Nginx on Ubuntu 18.04

    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
  • How To Write Packages in Go

    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
  • Importing Packages in Go

    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
  • Understanding the GOPATH

    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
  • Tutorial

    How To Deploy a Go Web Application with Docker and Nginx on Ubuntu 18.04

    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
  • Using ldflags to Set Version Information for Go Applications

    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 Break and Continue Statements When Working with Loops in Go

    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
  • Tutorial

    How To Deploy and Manage Your DNS Using DNSControl on Debian 10

    DNSControl is an infrastructure-as-code tool that allows you to deploy and manage your DNS zones using standard software development principles, including version control, testing, and automated deployment. In this tu...
    By Jamie Scaife DNS Debian 10 Go Git