Go: cmd

Directories

PathSynopsis
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.
asm/internal
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.
compile/internal
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.
go/internal
gofmtGofmt formats Go programs.
internal
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.
link/internal
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.
Version
v1.18.3 (latest)
Published
Jun 1, 2022
Platform
linux/amd64
Last checked
2 days ago

Tools for package owners.