Skip to main content
50% off all plans, limited time. Starting at $2.48/mo
Go

Go

Go is Google's compiled language. Fast, garbage-collected, built for concurrent servers, with a famously simple syntax and a 90-second compile time even for huge codebases. The language behind Docker, Kubernetes, Caddy, and Hugo. Used at Google, Cloudflare, and Uber.

At a glance

135k

GitHub stars

211

Page views

License BSD-3-Clause Version Latest OS Ubuntu Server 24.04 LTS Min RAM 1 GB IP IPV4,IPV6

Environment Setup

Go is configured system-wide in /etc/profile:

export PATH=$PATH:/usr/local/go/bin

Optional (if you want Go-installed binaries accessible globally):

export GOPATH=/root/go
export PATH=$PATH:$GOPATH/bin

Apply immediately:

source /etc/profile

Workspace Layout

  • /root/go/bin → binaries installed via go install (not in PATH unless you add it)
  • /root/go/pkg → compiled package cache
  • /root/go/src → source code

Useful Commands

  • go version → check version
  • go env → inspect environment
  • go run → run a program
  • go build → compile
  • go install → install

More in Development Tools

Related apps.

Deploy Go now. From $2.48/mo.