Go Programming

Learning

Tooling

  • go – The compiler.
    • go fmt – Reformats code to follow the “true standard” for Go.
    • go env – Display information about environment (e.g. OS, variables).
    • go run – Builds and starts your application.
    • go build – Builds executable.
    • go test – Runs tests.
    • go clean – Clears the cache of Go dependencies on your local system.
    • go doc – View documentation offline.
    • go vet – Static analysis of code.
  • golint – Lints code.
  • For a much more extensive/in-depth look see Alex Edwards’ “An Overview of Go’s Tooling.” (4/2019)