cmd/go/internal/base | Package base defines shared basic pieces of the go command, in particular logging and the Command structure. |
cmd/go/internal/cfg | Package cfg holds configuration shared by multiple parts of the go command. |
cmd/go/internal/gover | Package gover implements support for Go toolchain versions like 1.21.0 and 1.21rc1. |
cmd/go/internal/imports | |
cmd/go/internal/modfetch | |
cmd/go/internal/modload | |
cmd/go/internal/par | |
cmd/go/internal/search | |
cmd/go/internal/str | Package str provides string manipulation utilities. |
cmd/go/internal/toolchain | Package toolchain implements dynamic switching of Go toolchains. |
cmd/go/internal/work | |
cmd/internal/pkgpattern | |
context | Package context defines the Context type, which carries deadlines, cancellation signals, and other request-scoped values across API boundaries and between processes. |
errors | Package errors implements functions to manipulate errors. |
fmt | Package fmt implements formatted I/O with functions analogous to C's printf and scanf. |
golang.org/x/mod/modfile | Package modfile implements a parser and formatter for go.mod files. |
golang.org/x/mod/module | Package module defines the module.Version type along with support code. |
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. |
regexp | Package regexp implements regular expression search. |
runtime | Package runtime contains operations that interact with Go's runtime system, such as functions to control goroutines. |
sort | Package sort provides primitives for sorting slices and user-defined collections. |
strings | Package strings implements simple functions to manipulate UTF-8 encoded strings. |
sync | Package sync provides basic synchronization primitives such as mutual exclusion locks. |