Go: cmd/go/internal

Directories

PathSynopsis
go/internal/authPackage auth provides access to user-provided authentication credentials.
go/internal/basePackage base defines shared basic pieces of the go command, in particular logging and the Command structure.
go/internal/bugPackage bug implements the “go bug” command.
go/internal/cachePackage cache implements a build artifact cache.
go/internal/cfgPackage cfg holds configuration shared by multiple parts of the go command.
go/internal/cleanPackage clean implements the “go clean” command.
go/internal/cmdflagPackage cmdflag handles flag processing common to several go tools.
go/internal/docPackage doc implements the “go doc” command.
go/internal/envcmdPackage envcmd implements the “go env” command.
go/internal/fixPackage fix implements the “go fix” command.
go/internal/fmtcmdPackage fmtcmd implements the “go fmt” command.
go/internal/fsysPackage fsys is an abstraction for reading files that allows for virtual overlays on top of the files on disk.
go/internal/generatePackage generate implements the “go generate” command.
go/internal/getPackage get implements the “go get” command.
go/internal/helpPackage help implements the “go help” command.
go/internal/imports
go/internal/listPackage list implements the “go list” command.
go/internal/loadPackage load loads packages.
go/internal/lockedfilePackage lockedfile creates and manipulates files whose contents should only change atomically.
go/internal/lockedfile/internal
go/internal/lockedfile/internal/filelockPackage filelock provides a platform-independent API for advisory file locking.
go/internal/modcmdPackage modcmd implements the “go mod” command.
go/internal/modconv
go/internal/modfetch
go/internal/modfetch/codehostPackage codehost defines the interface implemented by a code hosting source, along with support code for use by implementations.
go/internal/modgetPackage modget implements the module-aware “go get” command.
go/internal/modinfo
go/internal/modload
go/internal/mvsPackage mvs implements Minimal Version Selection.
go/internal/parPackage par implements parallel execution helpers.
go/internal/robustioPackage robustio wraps I/O functions that are prone to failure on Windows, transparently retrying errors up to an arbitrary timeout.
go/internal/runPackage run implements the “go run” command.
go/internal/search
go/internal/strPackage str provides string manipulation utilities.
go/internal/test
go/internal/test/internal
go/internal/test/internal/genflags
go/internal/toolPackage tool implements the “go tool” command.
go/internal/trace
go/internal/vcs
go/internal/versionPackage version implements the “go version” command.
go/internal/vetPackage vet implements the “go vet” command.
go/internal/webPackage web defines minimal helper routines for accessing HTTP/HTTPS resources without requiring external dependencies on the net package.
go/internal/work
go/internal/workcmdPackage workcmd implements the “go work” command.
Version
v1.18.3 (latest)
Published
Jun 1, 2022
Platform
linux/amd64
Last checked
2 days ago

Tools for package owners.