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.
  • Package Management – Go Modules.
  • Routing – gorilla / mux or the Standard Library.
  • Web Frameworks – Gin.
  • Testing – Standard Library.
  • For a much more extensive/in-depth look see Alex Edwards’ “An Overview of Go’s Tooling” (4/2019) and Ekaterina Zharova’s “The State of Go” (2/2021).