cmd/ directory
Directories ¶
| Path | Synopsis |
|---|---|
| cmd/addr2line | Addr2line is a minimal simulation of the GNU addr2line tool, just enough to support pprof. |
| cmd/api | |
| cmd/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. |
| cmd/asm/internal | |
| cmd/buildid | Buildid displays or updates the build ID stored in a Go package or binary. |
| cmd/cgo | Cgo enables the creation of Go packages that call C code. |
| cmd/cgo/internal | |
| cmd/compile | Compile, typically invoked as “go tool compile,” compiles a single Go package comprising the files named on the command line. |
| cmd/compile/internal | |
| cmd/covdata | Covdata is a program for manipulating and generating reports from 2nd-generation coverage testing output files, those produced from running applications or integration tests. |
| cmd/cover | Cover is a program for analyzing the coverage profiles generated by 'go test -coverprofile=cover.out'. |
| cmd/dist | Dist helps bootstrap, build, and test the Go distribution. |
| cmd/distpack | Distpack creates the tgz and zip files for a Go distribution. |
| cmd/fix | Fix is a tool executed by "go fix" to update Go programs that use old features of the language and library and rewrite them to use newer ones. |
| cmd/go | Go is a tool for managing Go source code. |
| cmd/gofmt | Gofmt formats Go programs. |
| cmd/go/internal | |
| cmd/internal | |
| cmd/link | Link, typically invoked as “go tool link”, reads the Go archive or object for a package main, along with its dependencies, and combines them into an executable binary. |
| cmd/link/internal | |
| cmd/nm | Nm lists the symbols defined or used by an object file, archive, or executable. |
| cmd/objdump | Objdump disassembles executable files. |
| cmd/pack | Pack is a simple version of the traditional Unix ar tool. |
| cmd/pprof | Pprof interprets and displays profiles of Go programs. |
| cmd/preprofile | Preprofile creates an intermediate representation of a pprof profile for use during PGO in the compiler. |
| cmd/relnote | |
| cmd/test2json | Test2json converts go test output to a machine-readable JSON stream. |
| cmd/trace | Trace is a tool for viewing trace files. |
| cmd/vet | Vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string. |
- Version
- v1.26.0 (latest)
- Published
- Feb 10, 2026
- Platform
- linux/amd64
- Last checked
- 10 minutes ago –
Tools for package owners.