Go: cmd/go/internal

Directories

PathSynopsis
basePackage base defines shared basic pieces of the go command, in particular logging and the Command structure.
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.
generatePackage generate implements the ``go generate'' command.
getPackage get implements the ``go get'' command.
imports
listPackage list implements the ``go list'' command.
loadPackage load loads packages.
modcmdPackage modcmd implements the ``go mod'' command.
modfetch
modfetch/codehostPackage codehost defines the interface implemented by a code hosting source, along with support code for use by implementations.
modfile
modgetPackage modget implements the module-aware ``go get'' command.
modinfo
modload
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.
runPackage run implements the ``go run'' command.
search
semverPackage semver implements comparison of semantic version strings.
strPackage str provides string manipulation utilities.
test
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 helper routines for accessing HTTP/HTTPS resources.
web2
work

Updated 2019-07-09. Refresh now. Tools for package owners.