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 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 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 is an abstraction for reading files that allows for virtual overlays on top of the files on disk.
|
Package fsys is an abstraction for reading files that allows for virtual overlays on top of the files on disk. |
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 par implements parallel execution helpers.
|
Package par implements parallel execution helpers. |
Package robustio wraps I/O functions that are prone to failure on Windows, transparently retrying errors up to an arbitrary timeout.
|
Package robustio wraps I/O functions that are prone to failure on Windows, transparently retrying errors up to an arbitrary timeout. |
Package run implements the “go run” command.
|
Package run implements the “go run” command. |
Package script implements a small, customizable, platform-agnostic scripting language.
|
Package script implements a small, customizable, platform-agnostic scripting language. |
scripttest
Package scripttest adapts the script engine for use in tests.
|
Package scripttest adapts the script engine for use in tests. |
Package str provides string manipulation utilities.
|
Package str provides string manipulation utilities. |
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.