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.
dirhashPackage dirhash defines hashes over directory trees.
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.
modulePackage module defines the module.Version type along with support code.
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.
semverPackage semver implements comparison of semantic version strings.
strPackage str provides string manipulation utilities.
tlogPackage tlog implements a tamper-evident log used in the Go module go.sum database server.
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 dependenicies on the net package.

Updated 2020-02-16. Refresh now. Tools for package owners.