Go: cmd

Directories

PathSynopsis
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/mips64
compile/internal/ppc64
compile/internal/s390x
compile/internal/ssa
compile/internal/syntax
compile/internal/types
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/basePackage base defines shared basic pieces of the go command, in particular logging and the Command structure.
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/dirhashPackage dirhash defines hashes over directory trees.
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/generatePackage generate implements the ``go generate'' command.
go/internal/getPackage get implements the ``go get'' 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/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/modfile
go/internal/modgetPackage modget implements the module-aware ``go get'' command.
go/internal/modinfo
go/internal/modload
go/internal/modulePackage module defines the module.Version type along with support code.
go/internal/mvsPackage mvs implements Minimal Version Selection.
go/internal/parPackage par implements parallel execution helpers.
go/internal/renameioPackage renameio writes files atomically by renaming temporary files.
go/internal/runPackage run implements the ``go run'' command.
go/internal/search
go/internal/semverPackage semver implements comparison of semantic version strings.
go/internal/strPackage str provides string manipulation utilities.
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/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/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/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.
vendor/github.com/google/pprof/driverPackage driver provides an external entry point to the pprof driver.
vendor/github.com/google/pprof/internal/binutilsPackage binutils provides access to the GNU binutils.
vendor/github.com/google/pprof/internal/driverPackage driver implements the core pprof functionality.
vendor/github.com/google/pprof/internal/elfexecPackage elfexec provides utility routines to examine ELF binaries.
vendor/github.com/google/pprof/internal/graphPackage graph collects a set of samples into a directed graph.
vendor/github.com/google/pprof/internal/measurementPackage measurement export utility functions to manipulate/format performance profile sample values.
vendor/github.com/google/pprof/internal/pluginPackage plugin defines the plugin implementations that the main pprof driver requires.
vendor/github.com/google/pprof/internal/reportPackage report summarizes a performance profile into a human-readable report.
vendor/github.com/google/pprof/internal/symbolizerPackage symbolizer provides a routine to populate a profile with symbol, file and line number information.
vendor/github.com/google/pprof/internal/symbolzPackage symbolz symbolizes a profile using the output from the symbolz service.
vendor/github.com/google/pprof/profilePackage profile provides a representation of profile.proto and methods to encode/decode profiles in this format.
vendor/github.com/ianlancetaylor/demanglePackage demangle defines functions that demangle GCC/LLVM C++ symbol names.
vendor/golang.org/x/arch/arm/armasm
vendor/golang.org/x/arch/ppc64/ppc64asmPackage ppc64asm implements decoding of 64-bit PowerPC machine code.
vendor/golang.org/x/arch/x86/x86asmPackage x86asm implements decoding of x86 machine code.
vetVet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string.

Updated 2019-09-28. Refresh now. Tools for package owners.