Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

go

Go CLI — the go command-line tool for building, testing, and module management.

referencedescription
conceptsmodule, package, GOPATH, GOROOT, GO111MODULE
buildgo build, build flags, cross-compilation, build tags
testgo test, test flags, fuzzing, coverage, profiling
modgo mod, go.mod, go.sum, module proxy, version queries
toolgo tool, vet, pprof, compile, link, cgo
environmentGOARCH, GOOS, GOPATH, GOROOT, CGO_ENABLED, env vars
workgo work, workspace, multi-module, go.work
cligo generate, go run, go doc, go fmt, go fix, go vet