Go: cmd/go/internal


basePackage base defines shared basic pieces of the go command, in particular logging and the Command structure.
bugPackage bug implements the ``go bug'' command.
cachePackage cache implements a build artifact cache.
cfgPackage cfg holds configuration shared by multiple parts of the go command.
cleanPackage clean implements the ``go clean'' command.
cmdflagPackage cmdflag handles flag processing common to several go tools.
docPackage doc implements the ``go doc'' command.
envcmdPackage envcmd implements the ``go env'' command.
fixPackage fix implements the ``go fix'' command.
fmtcmdPackage fmtcmd implements the ``go fmt'' command.
generatePackage generate implements the ``go generate'' command.
getPackage get implements the ``go get'' command.
listPackage list implements the ``go list'' command.
loadPackage load loads packages.
lockedfilePackage lockedfile creates and manipulates files whose contents should only change atomically.
lockedfile/internal/filelockPackage filelock provides a platform-independent API for advisory file locking.
modcmdPackage modcmd implements the ``go mod'' command.
modfetch/codehostPackage codehost defines the interface implemented by a code hosting source, along with support code for use by implementations.
modgetPackage modget implements the module-aware ``go get'' command.
mvsPackage mvs implements Minimal Version Selection.
parPackage par implements parallel execution helpers.
renameioPackage renameio writes files atomically by renaming temporary files.
robustioPackage robustio wraps I/O functions that are prone to failure on Windows, transparently retrying errors up to an arbitrary timeout.
runPackage run implements the ``go run'' command.
strPackage str provides string manipulation utilities.
toolPackage tool implements the ``go tool'' command.
txtarPackage txtar implements a trivial text-based file archive format.
versionPackage version implements the ``go version'' command.
vetPackage vet implements the ``go vet'' command.
webPackage web defines minimal helper routines for accessing HTTP/HTTPS resources without requiring external dependencies on the net package.

Updated 2020-06-01. Refresh now. Tools for package owners.