cmd/go/internal/base | Package base defines shared basic pieces of the go command, in particular logging and the Command structure. |
cmd/go/internal/bug | Package bug implements the “go bug” command. |
cmd/go/internal/cfg | Package cfg holds configuration shared by multiple parts of the go command. |
cmd/go/internal/clean | Package clean implements the “go clean” command. |
cmd/go/internal/doc | Package doc implements the “go doc” command. |
cmd/go/internal/envcmd | Package envcmd implements the “go env” command. |
cmd/go/internal/fix | Package fix implements the “go fix” command. |
cmd/go/internal/fmtcmd | Package fmtcmd implements the “go fmt” command. |
cmd/go/internal/generate | Package generate implements the “go generate” command. |
cmd/go/internal/get | |
cmd/go/internal/help | Package help implements the “go help” command. |
cmd/go/internal/list | Package list implements the “go list” command. |
cmd/go/internal/modcmd | Package modcmd implements the “go mod” command. |
cmd/go/internal/modfetch | |
cmd/go/internal/modget | Package modget implements the module-aware “go get” command. |
cmd/go/internal/modload | |
cmd/go/internal/run | Package run implements the “go run” command. |
cmd/go/internal/test | |
cmd/go/internal/tool | Package tool implements the “go tool” command. |
cmd/go/internal/toolchain | Package toolchain implements dynamic switching of Go toolchains. |
cmd/go/internal/trace | |
cmd/go/internal/version | Package version implements the “go version” command. |
cmd/go/internal/vet | Package vet implements the “go vet” command. |
cmd/go/internal/work | |
cmd/go/internal/workcmd | Package workcmd implements the “go work” command. |
context | Package context defines the Context type, which carries deadlines, cancellation signals, and other request-scoped values across API boundaries and between processes. |
flag | Package flag implements command-line flag parsing. |
fmt | Package fmt implements formatted I/O with functions analogous to C's printf and scanf. |
internal/buildcfg | Package buildcfg provides access to the build configuration described by the current environment. |
log | Package log implements a simple logging package. |
os | Package os provides a platform-independent interface to operating system functionality. |
path/filepath | Package filepath implements utility routines for manipulating filename paths in a way compatible with the target operating system-defined file paths. |
runtime | Package runtime contains operations that interact with Go's runtime system, such as functions to control goroutines. |
runtime/trace | Package trace contains facilities for programs to generate traces for the Go execution tracer. |
slices | Package slices defines various functions useful with slices of any type. |
strings | Package strings implements simple functions to manipulate UTF-8 encoded strings. |