| 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/fsys | Package fsys implements a virtual file system that the go command uses to read source file trees. |
| cmd/go/internal/str | Package str provides string manipulation utilities. |
| cmd/internal/pkgpattern | |
| fmt | Package fmt implements formatted I/O with functions analogous to C's printf and scanf. |
| go/build | Package build gathers information about Go packages. |
| golang.org/x/mod/modfile | |
| io/fs | Package fs defines basic interfaces to a file system. |
| os | Package os provides a platform-independent interface to operating system functionality. |
| path | Package path implements utility routines for manipulating slash-separated paths. |
| path/filepath | Package filepath implements utility routines for manipulating filename paths in a way compatible with the target operating system-defined file paths. |
| strings | Package strings implements simple functions to manipulate UTF-8 encoded strings. |