cmd/

directory standard library
go1.19.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 10, 2023 License: BSD-3-Clause

Directories

Path Synopsis
Addr2line is a minimal simulation of the GNU addr2line tool, just enough to support pprof.
Addr2line is a minimal simulation of the GNU addr2line tool, just enough to support pprof.
Api computes the exported API of a set of Go packages.
Api computes the exported API of a set of Go packages.
asm
Asm, typically invoked as “go tool asm”, assembles the source file into an object file named for the basename of the argument source file with a .o suffix.
Asm, typically invoked as “go tool asm”, assembles the source file into an object file named for the basename of the argument source file with a .o suffix.
internal/arch
Package arch defines architecture-specific information and support functions.
Package arch defines architecture-specific information and support functions.
internal/asm
Package asm implements the parser and instruction generator for the assembler.
Package asm implements the parser and instruction generator for the assembler.
internal/flags
Package flags implements top-level flags and the usage message for the assembler.
Package flags implements top-level flags and the usage message for the assembler.
internal/lex
Package lex implements lexical analysis for the assembler.
Package lex implements lexical analysis for the assembler.
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.
Compile, typically invoked as “go tool compile,” compiles a single Go package comprising the files named on the command line.
Compile, typically invoked as “go tool compile,” compiles a single Go package comprising the files named on the command line.
internal/compare
Package compare contains code for generating comparison routines for structs, strings and interfaces.
Package compare contains code for generating comparison routines for structs, strings and interfaces.
internal/devirtualize
Package devirtualize implements a simple "devirtualization" optimization pass, which replaces interface method calls with direct concrete-type method calls where possible.
Package devirtualize implements a simple "devirtualization" optimization pass, which replaces interface method calls with direct concrete-type method calls where possible.
internal/importer
package importer implements Import for gc-generated object files.
package importer implements Import for gc-generated object files.
internal/types2
Package types declares the data types and implements the algorithms for type-checking of Go packages.
Package types declares the data types and implements the algorithms for type-checking of Go packages.
Cover is a program for analyzing the coverage profiles generated by 'go test -coverprofile=cover.out'.
Cover is a program for analyzing the coverage profiles generated by 'go test -coverprofile=cover.out'.
Dist helps bootstrap, build, and test the Go distribution.
Dist helps bootstrap, build, and test the Go distribution.
Doc (usually run as go doc) accepts zero, one or two arguments.
Doc (usually run as go doc) accepts zero, one or two arguments.
Fix finds Go programs that use old APIs and rewrites them to use newer ones.
Fix finds Go programs that use old APIs and rewrites them to use newer ones.
go
Go is a tool for managing Go source code.
Go is a tool for managing Go source code.
internal/auth
Package auth provides access to user-provided authentication credentials.
Package auth provides access to user-provided authentication credentials.
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/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/fsys
Package fsys is an abstraction for reading files that allows for virtual overlays on top of the files on disk.
Package fsys is an abstraction for reading files that allows for virtual overlays on top of the files on disk.
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.