go: github.com/golang/go/src/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/archPackage arch defines architecture-specific information and support functions.
asm/internal/asmPackage asm implements the parser and instruction generator for the assembler.
asm/internal/flagsPackage flags implements top-level flags and the usage message for the assembler.
asm/internal/lexPackage lex implements lexical analysis for the assembler.
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/amd64
compile/internal/arm
compile/internal/arm64
compile/internal/gc
compile/internal/mips
compile/internal/mips64
compile/internal/ppc64
compile/internal/s390x
compile/internal/ssa
compile/internal/syntax
compile/internal/test
compile/internal/types
compile/internal/wasm
compile/internal/x86
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.
go/internal/authPackage auth provides access to user-provided authentication credentials.
go/internal/basePackage base defines shared basic pieces of the go command, in particular logging and the Command structure.
go/internal/bugPackage bug implements the ``go bug'' command.
go/internal/cachePackage cache implements a build artifact cache.
go/internal/cfgPackage cfg holds configuration shared by multiple parts of the go command.
go/internal/cleanPackage clean implements the ``go clean'' command.
go/internal/cmdflagPackage cmdflag handles flag processing common to several go tools.
go/internal/docPackage doc implements the ``go doc'' command.
go/internal/envcmdPackage envcmd implements the ``go env'' command.
go/internal/fixPackage fix implements the ``go fix'' command.
go/internal/fmtcmdPackage fmtcmd implements the ``go fmt'' command.
go/internal/generatePackage generate implements the ``go generate'' command.
go/internal/getPackage get implements the ``go get'' command.
go/internal/helpPackage help implements the ``go help'' command.
go/internal/imports
go/internal/listPackage list implements the ``go list'' command.
go/internal/loadPackage load loads packages.
go/internal/lockedfilePackage lockedfile creates and manipulates files whose contents should only change atomically.
go/internal/lockedfile/internal/filelockPackage filelock provides a platform-independent API for advisory file locking.
go/internal/modcmdPackage modcmd implements the ``go mod'' command.
go/internal/modconv
go/internal/modfetch
go/internal/modfetch/codehostPackage codehost defines the interface implemented by a code hosting source, along with support code for use by implementations.
go/internal/modgetPackage modget implements the module-aware ``go get'' command.
go/internal/modinfo
go/internal/modload
go/internal/mvsPackage mvs implements Minimal Version Selection.
go/internal/notePackage note defines the notes signed by the Go module database server.
go/internal/parPackage par implements parallel execution helpers.
go/internal/renameioPackage renameio writes files atomically by renaming temporary files.
go/internal/robustioPackage robustio wraps I/O functions that are prone to failure on Windows, transparently retrying errors up to an arbitrary timeout.
go/internal/runPackage run implements the ``go run'' command.
go/internal/search
go/internal/strPackage str provides string manipulation utilities.
go/internal/sumdbPackage sumdb implements the HTTP protocols for serving or accessing a module checksum database.
go/internal/test
go/internal/toolPackage tool implements the ``go tool'' command.
go/internal/txtarPackage txtar implements a trivial text-based file archive format.
go/internal/versionPackage version implements the ``go version'' command.
go/internal/vetPackage vet implements the ``go vet'' command.
go/internal/webPackage web defines minimal helper routines for accessing HTTP/HTTPS resources without requiring external dependenicies on the net package.
go/internal/work
internal/bioPackage bio implements common I/O abstractions used within the Go toolchain.
internal/browserPackage browser provides utilities for interacting with users' browsers.
internal/buildid
internal/dwarfPackage dwarf generates DWARF debugging information.
internal/editPackage edit implements buffered position-based editing of byte slices.
internal/gcprogPackage gcprog implements an encoder for packed GC pointer bitmaps, known as GC programs.
internal/goobjPackage goobj implements reading of Go object files and archives.
internal/obj
internal/objabiOriginally, Go object files were Plan 9 object files, but no longer.
internal/obj/arm
internal/obj/arm64Package arm64 implements an ARM64 assembler.
internal/objfilePackage objfile implements portable access to OS-specific executable files.
internal/obj/mips
internal/obj/ppc64Package ppc64 implements a PPC64 assembler that assembles Go asm into the corresponding PPC64 binary instructions as defined by the Power ISA.
internal/obj/riscv
internal/obj/s390x
internal/obj/wasm
internal/obj/x86
internal/src
internal/sys
internal/test2jsonPackage test2json implements conversion of test binary output to JSON.
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/amd64
link/internal/arm
link/internal/arm64
link/internal/ld
link/internal/loadelfPackage loadelf implements an ELF file reader.
link/internal/loader
link/internal/loadmachoPackage loadmacho implements a Mach-O file reader.
link/internal/loadpePackage loadpe implements a PE/COFF file reader.
link/internal/loadxcoffPackage loadxcoff implements a XCOFF file reader.
link/internal/mips
link/internal/mips64
link/internal/objfilePackage objfile reads Go object files for the Go linker, cmd/link.
link/internal/ppc64
link/internal/s390x
link/internal/sym
link/internal/wasm
link/internal/x86
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.

Updated 2019-11-15. Refresh now. Tools for package owners.