Skip to content


"Go is an open source programming language that makes it easy to build simple, reliable, and efficient software." -

Golang keeps to a 6-month minor release cadence. See

Tips and examples

  • Default GOPATH is ${HOME}/go on unix systems.
  • See a bunch of other defaults with go env

View default go environment

go env

Build code found on github

go get
go build

With newer golang versions, you can simply go install

Show all modules used by a golang project

This will list all dependencies recursively in two columns with the library on the left and its direct dependencies on the right.

go mod graph