Directories ¶
Path | Synopsis |
---|---|
Buildid displays or updates the build ID stored in a Go package or binary.
|
Buildid displays or updates the build ID stored in a Go package or binary. |
Cgo enables the creation of Go packages that call C code.
|
Cgo enables the creation of Go packages that call C code. |
Go is a tool for managing Go source code.
|
Go is a tool for managing Go source code. |
internal/base
Package base defines shared basic pieces of the go command, in particular logging and the Command structure.
|
Package base defines shared basic pieces of the go command, in particular logging and the Command structure. |
internal/bug
Package bug implements the “go bug” command.
|
Package bug implements the “go bug” command. |
internal/cache
Package cache implements a build artifact cache.
|
Package cache implements a build artifact cache. |
internal/cfg
Package cfg holds configuration shared by multiple parts of the go command.
|
Package cfg holds configuration shared by multiple parts of the go command. |
internal/clean
Package clean implements the “go clean” command.
|
Package clean implements the “go clean” command. |
internal/cmdflag
Package cmdflag handles flag processing common to several go tools.
|
Package cmdflag handles flag processing common to several go tools. |
internal/dirhash
Package dirhash defines hashes over directory trees.
|
Package dirhash defines hashes over directory trees. |
internal/doc
Package doc implements the “go doc” command.
|
Package doc implements the “go doc” command. |
internal/envcmd
Package envcmd implements the “go env” command.
|
Package envcmd implements the “go env” command. |
internal/fix
Package fix implements the “go fix” command.
|
Package fix implements the “go fix” command. |
internal/fmtcmd
Package fmtcmd implements the “go fmt” command.
|
Package fmtcmd implements the “go fmt” command. |
internal/generate
Package generate implements the “go generate” command.
|
Package generate implements the “go generate” command. |
internal/get
Package get implements the “go get” command.
|
Package get implements the “go get” command. |
internal/help
Package help implements the “go help” command.
|
Package help implements the “go help” command. |
internal/list
Package list implements the “go list” command.
|
Package list implements the “go list” command. |
internal/load
Package load loads packages.
|
Package load loads packages. |
internal/lockedfile
Package lockedfile creates and manipulates files whose contents should only change atomically.
|
Package lockedfile creates and manipulates files whose contents should only change atomically. |
internal/lockedfile/internal/filelock
Package filelock provides a platform-independent API for advisory file locking.
|
Package filelock provides a platform-independent API for advisory file locking. |
internal/modcmd
Package modcmd implements the “go mod” command.
|
Package modcmd implements the “go mod” command. |
internal/modfetch/codehost
Package codehost defines the interface implemented by a code hosting source, along with support code for use by implementations.
|
Package codehost defines the interface implemented by a code hosting source, along with support code for use by implementations. |
internal/modget
Package modget implements the module-aware “go get” command.
|
Package modget implements the module-aware “go get” command. |
internal/module
Package module defines the module.Version type along with support code.
|
Package module defines the module.Version type along with support code. |
internal/mvs
Package mvs implements Minimal Version Selection.
|
Package mvs implements Minimal Version Selection. |
internal/par
Package par implements parallel execution helpers.
|
Package par implements parallel execution helpers. |
internal/renameio
Package renameio writes files atomically by renaming temporary files.
|
Package renameio writes files atomically by renaming temporary files. |
internal/run
Package run implements the “go run” command.
|
Package run implements the “go run” command. |
internal/semver
Package semver implements comparison of semantic version strings.
|
Package semver implements comparison of semantic version strings. |
internal/str
Package str provides string manipulation utilities.
|
Package str provides string manipulation utilities. |
internal/tool
Package tool implements the “go tool” command.
|
Package tool implements the “go tool” command. |
internal/txtar
Package txtar implements a trivial text-based file archive format.
|
Package txtar implements a trivial text-based file archive format. |
internal/version
Package version implements the “go version” command.
|
Package version implements the “go version” command. |
internal/vet
Package vet implements the “go vet” command.
|
Package vet implements the “go vet” command. |
internal/web
Package web defines helper routines for accessing HTTP/HTTPS resources.
|
Package web defines helper routines for accessing HTTP/HTTPS resources. |
Gofmt formats Go programs.
|
Gofmt formats Go programs. |
internal
|
|
browser
Package browser provides utilities for interacting with users' browsers.
|
Package browser provides utilities for interacting with users' browsers. |
edit
Package edit implements buffered position-based editing of byte slices.
|
Package edit implements buffered position-based editing of byte slices. |
objabi
Originally, Go object files were Plan 9 object files, but no longer.
|
Originally, Go object files were Plan 9 object files, but no longer. |
test2json
Package test2json implements conversion of test binary output to JSON.
|
Package test2json implements conversion of test binary output to JSON. |
Test2json converts go test output to a machine-readable JSON stream.
|
Test2json converts go test output to a machine-readable JSON stream. |
Vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string.
|
Vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string. |
Click to show internal directories.
Click to hide internal directories.