Directories ¶
Path | Synopsis |
---|---|
Package auth provides access to user-provided authentication credentials. | Package auth provides access to user-provided authentication credentials. |
Package base defines shared basic pieces of the go command, in particular logging and the Command structure. | Package base defines shared basic pieces of the go command, in particular logging and the Command structure. |
Package bug implements the “go bug” command. | Package bug implements the “go bug” command. |
Package cache implements a build artifact cache. | Package cache implements a build artifact cache. |
Package cacheprog defines the protocol for a GOCACHEPROG program. | Package cacheprog defines the protocol for a GOCACHEPROG program. |
Package cfg holds configuration shared by multiple parts of the go command. | Package cfg holds configuration shared by multiple parts of the go command. |
Package clean implements the “go clean” command. | Package clean implements the “go clean” command. |
Package cmdflag handles flag processing common to several go tools. | Package cmdflag handles flag processing common to several go tools. |
Package doc implements the “go doc” command. | Package doc implements the “go doc” command. |
Package envcmd implements the “go env” command. | Package envcmd implements the “go env” command. |
Package fips implements support for the GOFIPS140 build setting. | Package fips implements support for the GOFIPS140 build setting. |
Package fix implements the “go fix” command. | Package fix implements the “go fix” command. |
Package fmtcmd implements the “go fmt” command. | Package fmtcmd implements the “go fmt” command. |
Package fsys implements a virtual file system that the go command uses to read source file trees. | Package fsys implements a virtual file system that the go command uses to read source file trees. |
Package generate implements the “go generate” command. | Package generate implements the “go generate” command. |
Package gover implements support for Go toolchain versions like 1.21.0 and 1.21rc1. | Package gover implements support for Go toolchain versions like 1.21.0 and 1.21rc1. |
Package help implements the “go help” command. | Package help implements the “go help” command. |
Package list implements the “go list” command. | Package list implements the “go list” command. |
Package load loads packages. | Package load loads packages. |
Package lockedfile creates and manipulates files whose contents should only change atomically. | Package lockedfile creates and manipulates files whose contents should only change atomically. |
internal/filelock Package filelock provides a platform-independent API for advisory file locking. | Package filelock provides a platform-independent API for advisory file locking. |
The mmap package provides an abstraction for memory mapping files on different platforms. | The mmap package provides an abstraction for memory mapping files on different platforms. |
Package modcmd implements the “go mod” command. | Package modcmd implements the “go mod” command. |
codehost Package codehost defines the interface implemented by a code hosting source, along with support code for use by implementations. | Package codehost defines the interface implemented by a code hosting source, along with support code for use by implementations. |
Package modget implements the module-aware “go get” command. | Package modget implements the module-aware “go get” command. |
Package mvs implements Minimal Version Selection. | Package mvs implements Minimal Version Selection. |
Package run implements the “go run” command. | Package run implements the “go run” command. |
Package str provides string manipulation utilities. | Package str provides string manipulation utilities. |
Package telemetrycmd implements the "go telemetry" command. | Package telemetrycmd implements the "go telemetry" command. |
Package tool implements the “go tool” command. | Package tool implements the “go tool” command. |
Package toolchain implements dynamic switching of Go toolchains. | Package toolchain implements dynamic switching of Go toolchains. |
Package vcweb serves version control repos for testing the go command. | Package vcweb serves version control repos for testing the go command. |
vcstest Package vcstest serves the repository scripts in cmd/go/testdata/vcstest using the vcweb script engine. | Package vcstest serves the repository scripts in cmd/go/testdata/vcstest using the vcweb script engine. |
Package version implements the “go version” command. | Package version implements the “go version” command. |
Package vet implements the “go vet” command. | Package vet implements the “go vet” command. |
Package web defines minimal helper routines for accessing HTTP/HTTPS resources without requiring external dependencies on the net package. | Package web defines minimal helper routines for accessing HTTP/HTTPS resources without requiring external dependencies on the net package. |
Package workcmd implements the “go work” command. | Package workcmd implements the “go work” command. |
Click to show internal directories.
Click to hide internal directories.