Go: cmd


addr2lineAddr2line is a minimal simulation of the GNU addr2line tool, just enough to support pprof.
apiBinary api computes the exported API of a set of Go packages.
asmAsm, 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.
buildidBuildid displays or updates the build ID stored in a Go package or binary.
cgoCgo enables the creation of Go packages that call C code.
compileCompile, typically invoked as “go tool compile,” compiles a single Go package comprising the files named on the command line.
coverCover is a program for analyzing the coverage profiles generated by 'go test -coverprofile=cover.out'.
distDist helps bootstrap, build, and test the Go distribution.
docDoc (usually run as go doc) accepts zero, one or two arguments.
fixFix finds Go programs that use old APIs and rewrites them to use newer ones.
goGo is a tool for managing Go source code.
gofmtGofmt formats Go programs.
linkLink, 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.
nmNm lists the symbols defined or used by an object file, archive, or executable.
objdumpObjdump disassembles executable files.
packPack is a simple version of the traditional Unix ar tool.
pprofPprof interprets and displays profiles of Go programs.
test2jsonTest2json converts go test output to a machine-readable JSON stream.
traceTrace is a tool for viewing trace files.
vetVet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string.
v1.18.3 (latest)
Jun 1, 2022
Last checked
2 days ago

Tools for package owners.