cmd/

directory standard library
go1.12.17 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 12, 2020 License: BSD-3-Clause

Directories

Path Synopsis
Addr2line is a minimal simulation of the GNU addr2line tool, just enough to support pprof.
Addr2line is a minimal simulation of the GNU addr2line tool, just enough to support pprof.
Binary api computes the exported API of a set of Go packages.
Binary api computes the exported API of a set of Go packages.
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.
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.
internal/arch
Package arch defines architecture-specific information and support functions.
Package arch defines architecture-specific information and support functions.
internal/asm
Package asm implements the parser and instruction generator for the assembler.
Package asm implements the parser and instruction generator for the assembler.
internal/flags
Package flags implements top-level flags and the usage message for the assembler.
Package flags implements top-level flags and the usage message for the assembler.
internal/lex
Package lex implements lexical analysis for the assembler.
Package lex implements lexical analysis for the assembler.
Buildid displays or updates the build ID stored in a Go package or binary.
Buildid displays or updates the build ID stored in a Go package or binary.
Cgo enables the creation of Go packages that call C code.
Cgo enables the creation of Go packages that call C code.
Compile, typically invoked as “go tool compile,” compiles a single Go package comprising the files named on the command line.
Compile, typically invoked as “go tool compile,” compiles a single Go package comprising the files named on the command line.
Cover is a program for analyzing the coverage profiles generated by 'go test -coverprofile=cover.out'.
Cover is a program for analyzing the coverage profiles generated by 'go test -coverprofile=cover.out'.
Dist helps bootstrap, build, and test the Go distribution.
Dist helps bootstrap, build, and test the Go distribution.
Doc (usually run as go doc) accepts zero, one or two arguments.
Doc (usually run as go doc) accepts zero, one or two arguments.
Fix finds Go programs that use old APIs and rewrites them to use newer ones.
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.
Go is a tool for managing Go source code.
internal/base
Package base defines shared basic pieces of the go command, in particular logging and the Command structure.
Package base defines shared basic pieces of the go command, in particular logging and the Command structure.
internal/bug
Package bug implements the “go bug” command.
Package bug implements the “go bug” command.
internal/cache
Package cache implements a build artifact cache.
Package cache implements a build artifact cache.
internal/cfg
Package cfg holds configuration shared by multiple parts of the go command.
Package cfg holds configuration shared by multiple parts of the go command.
internal/clean
Package clean implements the “go clean” command.
Package clean implements the “go clean” command.
internal/cmdflag
Package cmdflag handles flag processing common to several go tools.
Package cmdflag handles flag processing common to several go tools.
internal/dirhash
Package dirhash defines hashes over directory trees.
Package dirhash defines hashes over directory trees.
internal/doc
Package doc implements the “go doc” command.
Package doc implements the “go doc” command.
internal/envcmd
Package envcmd implements the “go env” command.
Package envcmd implements the “go env” command.
internal/fix
Package fix implements the “go fix” command.
Package fix implements the “go fix” command.
internal/fmtcmd
Package fmtcmd implements the “go fmt” command.
Package fmtcmd implements the “go fmt” command.
internal/generate
Package generate implements the “go generate” command.
Package generate implements the “go generate” command.
internal/get
Package get implements the “go get” command.
Package get implements the “go get” command.
internal/help
Package help implements the “go help” command.
Package help implements the “go help” command.
internal/list
Package list implements the “go list” command.
Package list implements the “go list” command.
internal/load
Package load loads packages.
Package load loads packages.
internal/lockedfile
Package lockedfile creates and manipulates files whose contents should only change atomically.
Package lockedfile creates and manipulates files whose contents should only change atomically.
internal/lockedfile/internal/filelock
Package filelock provides a platform-independent API for advisory file locking.
Package filelock provides a platform-independent API for advisory file locking.
internal/modcmd
Package modcmd implements the “go mod” command.
Package modcmd implements the “go mod” command.
internal/modfetch/codehost
Package codehost defines the interface implemented by a code hosting source, along with support code for use by implementations.
Package codehost defines the interface implemented by a code hosting source, along with support code for use by implementations.
internal/modget
Package modget implements the module-aware “go get” command.
Package modget implements the module-aware “go get” command.
internal/module
Package module defines the module.Version type along with support code.
Package module defines the module.Version type along with support code.
internal/mvs
Package mvs implements Minimal Version Selection.
Package mvs implements Minimal Version Selection.
internal/par
Package par implements parallel execution helpers.
Package par implements parallel execution helpers.
internal/renameio
Package renameio writes files atomically by renaming temporary files.
Package renameio writes files atomically by renaming temporary files.
internal/run
Package run implements the “go run” command.
Package run implements the “go run” command.
internal/semver
Package semver implements comparison of semantic version strings.
Package semver implements comparison of semantic version strings.
internal/str
Package str provides string manipulation utilities.
Package str provides string manipulation utilities.
internal/tool
Package tool implements the “go tool” command.
Package tool implements the “go tool” command.
internal/txtar
Package txtar implements a trivial text-based file archive format.
Package txtar implements a trivial text-based file archive format.
internal/version
Package version implements the “go version” command.
Package version implements the “go version” command.
internal/vet
Package vet implements the “go vet” command.
Package vet implements the “go vet” command.
internal/web
Package web defines helper routines for accessing HTTP/HTTPS resources.
Package web defines helper routines for accessing HTTP/HTTPS resources.
Gofmt formats Go programs.
Gofmt formats Go programs.
internal
bio
Package bio implements common I/O abstractions used within the Go toolchain.
Package bio implements common I/O abstractions used within the Go toolchain.
browser
Package browser provides utilities for interacting with users' browsers.
Package browser provides utilities for interacting with users' browsers.
dwarf
Package dwarf generates DWARF debugging information.
Package dwarf generates DWARF debugging information.
edit
Package edit implements buffered position-based editing of byte slices.
Package edit implements buffered position-based editing of byte slices.
gcprog
Package gcprog implements an encoder for packed GC pointer bitmaps, known as GC programs.
Package gcprog implements an encoder for packed GC pointer bitmaps, known as GC programs.
goobj
Package goobj implements reading of Go object files and archives.
Package goobj implements reading of Go object files and archives.
obj
obj/arm64
Package arm64 implements an ARM64 assembler.
Package arm64 implements an ARM64 assembler.
objabi
Originally, Go object files were Plan 9 object files, but no longer.
Originally, Go object files were Plan 9 object files, but no longer.
objfile
Package objfile implements portable access to OS-specific executable files.
Package objfile implements portable access to OS-specific executable files.
src
sys
test2json
Package test2json implements conversion of test binary output to JSON.
Package test2json implements conversion of test binary output to JSON.
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.
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.
internal/loadelf
Package loadelf implements an ELF file reader.
Package loadelf implements an ELF file reader.
internal/loadmacho
Package loadmacho implements a Mach-O file reader.
Package loadmacho implements a Mach-O file reader.
internal/loadpe
Package loadpe implements a PE/COFF file reader.
Package loadpe implements a PE/COFF file reader.
internal/loadxcoff
Package loadxcoff implements a XCOFF file reader.
Package loadxcoff implements a XCOFF file reader.
internal/objfile
Package objfile reads Go object files for the Go linker, cmd/link.
Package objfile reads Go object files for the Go linker, cmd/link.
Nm lists the symbols defined or used by an object file, archive, or executable.
Nm lists the symbols defined or used by an object file, archive, or executable.
Objdump disassembles executable files.
Objdump disassembles executable files.
Pack is a simple version of the traditional Unix ar tool.
Pack is a simple version of the traditional Unix ar tool.
Pprof interprets and displays profiles of Go programs.
Pprof interprets and displays profiles of Go programs.
Test2json converts go test output to a machine-readable JSON stream.
Test2json converts go test output to a machine-readable JSON stream.
Trace is a tool for viewing trace files.
Trace is a tool for viewing trace files.
Vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string.
Vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL