The official docs are your Go 😹 to here go.dev
Try Go-ing 😹 into the terminal and entering go help
-
go bug
– start a bug report -
go build
– compile packages and dependencies -
go clean
– remove object files and cached files -
go doc
– show documentation for package or symbol -
go env
– print Go environment information -
go fix
– update packages to use new APIs -
go fmt
– gofmt (reformat) package sources -
go generate
– generate Go files by processing source -
go get
– add dependencies to current module and install them -
go install
– compile and install packages and dependencies -
go list
– list packages or modules -
go mod
– module maintenance -
go work
– workspace maintenance -
go run
– compile and run Go program -
go test
– test packages -
go tool
– run specified go tool -
go version
– print Go version -
go vet
– report likely mistakes in packages