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. |
|
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. |
|
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. |
|
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/deadlocals
The deadlocals pass removes assignments to unused local variables.
|
The deadlocals pass removes assignments to unused local variables. |
|
internal/devirtualize
Package devirtualize implements two "devirtualization" optimization passes:
|
Package devirtualize implements two "devirtualization" optimization passes: |
|
internal/importer
package importer implements package reading for gc-generated object files.
|
package importer implements package reading for gc-generated object files. |
|
internal/inline/interleaved
Package interleaved implements the interleaved devirtualization and inlining pass.
|
Package interleaved implements the interleaved devirtualization and inlining pass. |
|
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/pgoir
Package pgoir associates a PGO profile with the IR of the current package compilation.
|
Package pgoir associates a PGO profile with the IR of the current package compilation. |
|
internal/rangefunc
Package rangefunc rewrites range-over-func to code that doesn't use range-over-funcs.
|
Package rangefunc rewrites range-over-func to code that doesn't use range-over-funcs. |
|
internal/rttype
Package rttype allows the compiler to share type information with the runtime.
|
Package rttype allows the compiler to share type information with the runtime. |
|
internal/types2
Package types2 declares the data types and implements the algorithms for type-checking of Go packages.
|
Package types2 declares the data types and implements the algorithms for type-checking of Go packages. |
|
Covdata is a program for manipulating and generating reports from 2nd-generation coverage testing output files, those produced from running applications or integration tests.
|
Covdata is a program for manipulating and generating reports from 2nd-generation coverage testing output files, those produced from running applications or integration tests. |
|
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. |
|
Distpack creates the tgz and zip files for a Go distribution.
|
Distpack creates the tgz and zip files for a 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 is a tool for managing Go source code.
|
Go is a tool for managing Go source code. |
|
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/cacheprog
Package cacheprog defines the protocol for a GOCACHEPROG program.
|
Package cacheprog defines the protocol for a GOCACHEPROG program. |
|
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/fips140
Package fips implements support for the GOFIPS140 build setting.
|
Package fips implements support for the GOFIPS140 build setting. |
|
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 implements a virtual file system that the go command uses to read source file trees.
|
Package fsys implements a virtual file system that the go command uses to read source file trees. |
|
internal/generate
Package generate implements the “go generate” command.
|
Package generate implements the “go generate” 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. |
|
|