cmd/

directory
v0.4.210-rc.2 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2023 License: BSD-3-Clause

Directories

Path Synopsis
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.
flag
Package flag implements command-line flag parsing.
Package flag implements command-line flag parsing.
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.
cgo
Cgo enables the creation of Go packages that call C code.
Cgo enables the creation of Go packages that call C code.
flag
Package flag implements command-line flag parsing.
Package flag implements command-line flag parsing.
internal/test
Test that pthread_cancel works as expected (NPTL uses SIGRTMIN to implement thread cancellation) See https://golang.org/issue/6997
Test that pthread_cancel works as expected (NPTL uses SIGRTMIN to implement thread cancellation) See https://golang.org/issue/6997
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.
flag
Package flag implements command-line flag parsing.
Package flag implements command-line flag parsing.
internal/compare
Package compare contains code for generating comparison routines for structs, strings and interfaces.
Package compare contains code for generating comparison routines for structs, strings and interfaces.
internal/devirtualize
Package devirtualize implements two "devirtualization" optimization passes:
Package devirtualize implements two "devirtualization" optimization passes:
internal/importer
package importer implements Import for gc-generated object files.
package importer implements Import for gc-generated object files.
internal/loopvar
Package loopvar applies the proper variable capture, according to experiment, flags, language version, etc.
Package loopvar applies the proper variable capture, according to experiment, flags, language version, etc.
internal/pgo/internal/graph
Package graph represents a pprof profile as a directed graph.
Package graph represents a pprof profile as a directed graph.
internal/ssa/_gen
The gen command generates Go code (in the parent directory) for all the architecture-specific opcodes, blocks, and rewrites.
The gen command generates Go code (in the parent directory) for all the architecture-specific opcodes, blocks, and rewrites.
internal/types2
Package types declares the data types and implements the algorithms for type-checking of Go packages.
Package types declares the data types and implements the algorithms for type-checking of Go packages.
Go is a tool for managing Go source code.
Go is a tool for managing Go source code.
compress/fse
Package fse provides Finite State Entropy encoding and decoding.
Package fse provides Finite State Entropy encoding and decoding.
compress/huff0
This file contains the specialisation of Decoder.Decompress4X and Decoder.Decompress1X that use an asm implementation of thir main loops.
This file contains the specialisation of Decoder.Decompress4X and Decoder.Decompress1X that use an asm implementation of thir main loops.
compress/internal/cpuinfo
Package cpuinfo gives runtime info about the current CPU.
Package cpuinfo gives runtime info about the current CPU.
compress/internal/snapref
Package snapref implements the Snappy compression format.
Package snapref implements the Snappy compression format.
compress/zstd
Package zstd provides decompression of zstandard files.
Package zstd provides decompression of zstandard files.
flag
Package flag implements command-line flag parsing.
Package flag implements command-line flag parsing.
internal/auth
Package auth provides access to user-provided authentication credentials.
Package auth provides access to user-provided authentication credentials.
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/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/fsys
Package fsys is an abstraction for reading files that allows for virtual overlays on top of the files on disk.
Package fsys is an abstraction for reading files that allows for virtual overlays on top of the files on disk.
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/gover
Package gover implements support for Go toolchain versions like 1.21.0 and 1.21rc1.
Package gover implements support for Go toolchain versions like 1.21.0 and 1.21rc1.
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/mmap
The mmap package provides an abstraction for memory mapping files on different platforms.
The mmap package provides an abstraction for memory mapping files on different platforms.
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/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/robustio
Package robustio wraps I/O functions that are prone to failure on Windows, transparently retrying errors up to an arbitrary timeout.
Package robustio wraps I/O functions that are prone to failure on Windows, transparently retrying errors up to an arbitrary timeout.
internal/run
Package run implements the “go run” command.
Package run implements the “go run” command.
internal/script
Package script implements a small, customizable, platform-agnostic scripting language.
Package script implements a small, customizable, platform-agnostic scripting language.
internal/script/scripttest
Package scripttest adapts the script engine for use in tests.
Package scripttest adapts the script engine for use in tests.
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/toolchain
Package toolchain implements dynamic switching of Go toolchains.
Package toolchain implements dynamic switching of Go toolchains.
internal/vcweb
Package vcweb serves version control repos for testing the go command.
Package vcweb serves version control repos for testing the go command.
internal/vcweb/vcstest
Package vcstest serves the repository scripts in cmd/go/testdata/vcstest using the [vcweb] script engine.
Package vcstest serves the repository scripts in cmd/go/testdata/vcstest using the [vcweb] script engine.
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 minimal helper routines for accessing HTTP/HTTPS resources without requiring external dependencies on the net package.
Package web defines minimal helper routines for accessing HTTP/HTTPS resources without requiring external dependencies on the net package.
internal/workcmd
Package workcmd implements the “go work” command.
Package workcmd implements the “go work” command.
Gofmt formats Go programs.
Gofmt formats Go programs.
flag
Package flag implements command-line flag parsing.
Package flag implements command-line flag parsing.
internal
archive
Package archive implements reading of archive files generated by the Go toolchain.
Package archive implements reading of archive files generated by the Go toolchain.
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.
codesign
Package codesign provides basic functionalities for ad-hoc code signing of Mach-O files.
Package codesign provides basic functionalities for ad-hoc code signing of Mach-O files.
cov
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.
notsha256
Package notsha256 implements the NOTSHA256 algorithm, a hash defined as bitwise NOT of SHA256.
Package notsha256 implements the NOTSHA256 algorithm, a hash defined as bitwise NOT of SHA256.
obj
obj/arm64
Package arm64 implements an ARM64 assembler.
Package arm64 implements an ARM64 assembler.
obj/ppc64
Package ppc64 implements a PPC64 assembler that assembles Go asm into the corresponding PPC64 instructions as defined by the Power ISA 3.0B.
Package ppc64 implements a PPC64 assembler that assembles Go asm into the corresponding PPC64 instructions as defined by the Power ISA 3.0B.
obj/riscv
Code generated by parse.py -go rv64_a rv64_d rv64_f rv64_i rv64_m rv64_q rv_a rv_d rv_f rv_i rv_m rv_q rv_s rv_system rv_zicsr; DO NOT EDIT.
Code generated by parse.py -go rv64_a rv64_d rv64_f rv64_i rv64_m rv64_q rv_a rv_d rv_f rv_i rv_m rv_q rv_s rv_system rv_zicsr; DO NOT EDIT.
objfile
Package objfile implements portable access to OS-specific executable files.
Package objfile implements portable access to OS-specific executable files.
osinfo
Package osinfo provides OS metadata.
Package osinfo provides OS metadata.
pkgpath
Package pkgpath determines the package path used by gccgo/GoLLVM symbols.
Package pkgpath determines the package path used by gccgo/GoLLVM symbols.
quoted
Package quoted provides string manipulation utilities.
Package quoted provides string manipulation utilities.
src
sys
test2json
Package test2json implements conversion of test binary output to JSON.
Package test2json implements conversion of test binary output to JSON.
traceviewer
Package traceviewer provides definitions of the JSON data structures used by the Chrome trace viewer.
Package traceviewer provides definitions of the JSON data structures used by the Chrome trace viewer.
Link, typically invoked as “go tool link”, reads the Go archive or object for a package link, 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 link, along with its dependencies, and combines them into an executable binary.
flag
Package flag implements command-line flag parsing.
Package flag implements command-line flag parsing.
internal/benchmark
Package benchmark provides a Metrics object that enables memory and CPU profiling for the linker.
Package benchmark provides a Metrics object that enables memory and CPU profiling for the linker.
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.

Jump to

Keyboard shortcuts

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