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.
109 Results
  • How To Code in Go eBook

    This book is designed to introduce you to writing programs with the Go programming language. You'll learn how to write useful tools and applications that can run on remote servers, or local Windows, macOS, and Linux s...
    By Gopher Guides Go Books DigitalOcean Development
  • 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 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
  • Tutorial

    How To Install Go on Ubuntu 20.04

    Go, sometimes referred to as "Golang", is an open-source programming language that was released by Google in 2012 and has become highly popular among developers. This tutorial outlines how to download and install the ...
    By Brennen Bearnes, Jeanelle Horcasitas Go Ubuntu Ubuntu 20.04
  • 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 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
  • 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
  • How to Use Go Modules

    A Go module commonly consists of one project or library and contains a collection of Go packages that are then released together. With Go modules, you can put code where you want and specify dependencies for each modu...
    By Kristin Davidson 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
  • 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 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
  • 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
  • How To Run Multiple Functions Concurrently in Go

    To run programs faster, a programmer needs to design their programs to run at the same time. Two features in Go, goroutines and channels, make concurrency easier when used together. Goroutines solve the difficulty of ...
    By Kristin Davidson Go Development
  • How To Install Go and Set Up a Local Programming Environment on Ubuntu 18.04

    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
  • How to Add Extra Information to Errors in Go

    In this tutorial, you'll create a program that uses these functions to include additional information in errors returned from your functions, and then create your own custom error struct that supports the wrapping and...
    By Kristin Davidson Development Go
  • 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
  • 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
  • How To Install Go and Set Up a Local Programming Environment on macOS

    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

    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