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/doc | Doc (usually run as go doc) accepts zero, one or two arguments. |
cmd/fix | Fix finds Go programs that use old APIs and rewrites 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.24.0 (latest)
- Published
- Feb 10, 2025
- Platform
- linux/amd64
- Last checked
- 1 minute ago –
Tools for package owners.