Go: cmd/go/internal

Directories

PathSynopsis
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.
imports
listPackage list implements the ``go list'' command.
loadPackage load loads packages.
lockedfilePackage lockedfile creates and manipulates files whose contents should only change atomically.
modcmdPackage modcmd implements the ``go mod'' command.
modconv
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
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.
work

Updated 2019-11-02. Refresh now. Tools for package owners.