go

Go is a tool for managing Go source code

Subcommands

NameDescription
bugStart a bug report
buildCompile packages and dependencies
cleanRemove object files and cached files
docShow documentation for package or symbol
envPrint Go environment information
fixUpdate packages to use new APIs
fmtGofmt (reformat) package sources
generateGenerate Go files by processing source
getAdd dependencies to current module and install them
installCompile and install packages and dependencies
listList packages or modules
modModule maintenance
workWorkspace maintenance
runCompile and run Go program
testTest packages
toolRun specified go tool
versionPrint Go version
vetReport likely mistakes in packages