...

Commands

Name Synopsis
addr2line Addr2line is a minimal simulation of the GNU addr2line tool, just enough to support pprof.
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.
buildid Buildid displays or updates the build ID stored in a Go package or binary.
cgo Cgo enables the creation of Go packages that call C code.
compile Compile, typically invoked as “go tool compile,” compiles a single Go package comprising the files named on the command line.
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.
cover Cover is a program for analyzing the coverage profiles generated by 'go test -coverprofile=cover.out'.
dist Dist helps bootstrap, build, and test the Go distribution.
distpack Distpack creates the tgz and zip files for a Go distribution.
doc Doc (usually run as go doc) accepts zero, one or two arguments.
fix 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.
gofmt Gofmt formats Go programs.
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.
nm Nm lists the symbols defined or used by an object file, archive, or executable.
objdump Objdump disassembles executable files.
pack Pack is a simple version of the traditional Unix ar tool.
pprof Pprof interprets and displays profiles of Go programs.
preprofile
test2json Test2json converts go test output to a machine-readable JSON stream.
tools
trace Trace is a tool for viewing trace files.
vet Vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string.