Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
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. |
asm/flag
Package flag implements command-line flag parsing.
|
Package flag implements command-line flag parsing. |
asm/internal/arch
Package arch defines architecture-specific information and support functions.
|
Package arch defines architecture-specific information and support functions. |
asm/internal/asm
Package asm implements the parser and instruction generator for the assembler.
|
Package asm implements the parser and instruction generator for the assembler. |
asm/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. |
asm/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. |
cgo/flag
Package flag implements command-line flag parsing.
|
Package flag implements command-line flag parsing. |
cgo/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
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. |
compile/flag
Package flag implements command-line flag parsing.
|
Package flag implements command-line flag parsing. |
compile/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. |
compile/internal/devirtualize
Package devirtualize implements two "devirtualization" optimization passes:
|
Package devirtualize implements two "devirtualization" optimization passes: |
compile/internal/importer
package importer implements Import for gc-generated object files.
|
package importer implements Import for gc-generated object files. |
compile/internal/inline/interleaved
Package interleaved implements the interleaved devirtualization and inlining pass.
|
Package interleaved implements the interleaved devirtualization and inlining pass. |
compile/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. |
compile/internal/pgo/internal/graph
Package graph represents a pprof profile as a directed graph.
|
Package graph represents a pprof profile as a directed graph. |
compile/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. |
compile/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. |
compile/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. |
compile/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. |
gocmd
Go is a tool for managing Go source code.
|
Go is a tool for managing Go source code. |
gocmd/flag
Package flag implements command-line flag parsing.
|
Package flag implements command-line flag parsing. |
gocmd/internal/auth
Package auth provides access to user-provided authentication credentials.
|
Package auth provides access to user-provided authentication credentials. |
gocmd/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. |
gocmd/internal/bug
Package bug implements the “go bug” command.
|
Package bug implements the “go bug” command. |
gocmd/internal/cache
Package cache implements a build artifact cache.
|
Package cache implements a build artifact cache. |
gocmd/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. |
gocmd/internal/clean
Package clean implements the “go clean” command.
|
Package clean implements the “go clean” command. |
gocmd/internal/cmdflag
Package cmdflag handles flag processing common to several go tools.
|
Package cmdflag handles flag processing common to several go tools. |
gocmd/internal/doc
Package doc implements the “go doc” command.
|
Package doc implements the “go doc” command. |
gocmd/internal/envcmd
Package envcmd implements the “go env” command.
|
Package envcmd implements the “go env” command. |
gocmd/internal/fix
Package fix implements the “go fix” command.
|
Package fix implements the “go fix” command. |
gocmd/internal/fmtcmd
Package fmtcmd implements the “go fmt” command.
|
Package fmtcmd implements the “go fmt” command. |
gocmd/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. |
gocmd/internal/generate
Package generate implements the “go generate” command.
|
Package generate implements the “go generate” command. |
gocmd/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. |
gocmd/internal/help
Package help implements the “go help” command.
|
Package help implements the “go help” command. |
gocmd/internal/list
Package list implements the “go list” command.
|
Package list implements the “go list” command. |
gocmd/internal/load
Package load loads packages.
|
Package load loads packages. |
gocmd/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. |
gocmd/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. |
gocmd/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. |
gocmd/internal/modcmd
Package modcmd implements the “go mod” command.
|
Package modcmd implements the “go mod” command. |
gocmd/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. |
gocmd/internal/modget
Package modget implements the module-aware “go get” command.
|
Package modget implements the module-aware “go get” command. |
gocmd/internal/mvs
Package mvs implements Minimal Version Selection.
|
Package mvs implements Minimal Version Selection. |
gocmd/internal/par
Package par implements parallel execution helpers.
|
Package par implements parallel execution helpers. |
gocmd/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. |
gocmd/internal/run
Package run implements the “go run” command.
|
Package run implements the “go run” command. |
gocmd/internal/script
Package script implements a small, customizable, platform-agnostic scripting language.
|
Package script implements a small, customizable, platform-agnostic scripting language. |
gocmd/internal/script/scripttest
Package scripttest adapts the script engine for use in tests.
|
Package scripttest adapts the script engine for use in tests. |
gocmd/internal/str
Package str provides string manipulation utilities.
|
Package str provides string manipulation utilities. |
gocmd/internal/tool
Package tool implements the “go tool” command.
|
Package tool implements the “go tool” command. |
gocmd/internal/toolchain
Package toolchain implements dynamic switching of Go toolchains.
|
Package toolchain implements dynamic switching of Go toolchains. |
gocmd/internal/vcweb
Package vcweb serves version control repos for testing the go command.
|
Package vcweb serves version control repos for testing the go command. |
gocmd/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. |
gocmd/internal/version
Package version implements the “go version” command.
|
Package version implements the “go version” command. |
gocmd/internal/vet
Package vet implements the “go vet” command.
|
Package vet implements the “go vet” command. |
gocmd/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. |
gocmd/internal/workcmd
Package workcmd implements the “go work” command.
|
Package workcmd implements the “go work” command. |
gofmt
Gofmt formats Go programs.
|
Gofmt formats Go programs. |
gofmt/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. |
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. |
internal/browser
Package browser provides utilities for interacting with users' browsers.
|
Package browser provides utilities for interacting with users' browsers. |
internal/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. |
internal/dwarf
Package dwarf generates DWARF debugging information.
|
Package dwarf generates DWARF debugging information. |
internal/edit
Package edit implements buffered position-based editing of byte slices.
|
Package edit implements buffered position-based editing of byte slices. |
internal/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. |
internal/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. |
internal/obj/arm64
Package arm64 implements an ARM64 assembler.
|
Package arm64 implements an ARM64 assembler. |
internal/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. |
internal/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. |
internal/objfile
Package objfile implements portable access to OS-specific executable files.
|
Package objfile implements portable access to OS-specific executable files. |
internal/osinfo
Package osinfo provides OS metadata.
|
Package osinfo provides OS metadata. |
internal/pkgpath
Package pkgpath determines the package path used by gccgo/GoLLVM symbols.
|
Package pkgpath determines the package path used by gccgo/GoLLVM symbols. |
internal/quoted
Package quoted provides string manipulation utilities.
|
Package quoted provides string manipulation utilities. |
internal/test2json
Package test2json implements conversion of test binary output to JSON.
|
Package test2json implements conversion of test binary output to JSON. |
link
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. |
link/flag
Package flag implements command-line flag parsing.
|
Package flag implements command-line flag parsing. |
link/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. |
link/internal/loadelf
Package loadelf implements an ELF file reader.
|
Package loadelf implements an ELF file reader. |
link/internal/loadmacho
Package loadmacho implements a Mach-O file reader.
|
Package loadmacho implements a Mach-O file reader. |
link/internal/loadpe
Package loadpe implements a PE/COFF file reader.
|
Package loadpe implements a PE/COFF file reader. |
link/internal/loadxcoff
Package loadxcoff implements a XCOFF file reader.
|
Package loadxcoff implements a XCOFF file reader. |
debug
|
|
buildinfo
Package buildinfo provides access to information embedded in a Go binary about how it was built.
|
Package buildinfo provides access to information embedded in a Go binary about how it was built. |
dwarf
Package dwarf provides access to DWARF debugging information loaded from executable files, as defined in the DWARF 2.0 Standard at http://dwarfstd.org/doc/dwarf-2.0.0.pdf.
|
Package dwarf provides access to DWARF debugging information loaded from executable files, as defined in the DWARF 2.0 Standard at http://dwarfstd.org/doc/dwarf-2.0.0.pdf. |
elf
Package elf implements access to ELF object files.
|
Package elf implements access to ELF object files. |
gosym
Package gosym implements access to the Go symbol and line number tables embedded in Go binaries generated by the gc compilers.
|
Package gosym implements access to the Go symbol and line number tables embedded in Go binaries generated by the gc compilers. |
macho
Package macho implements access to Mach-O object files.
|
Package macho implements access to Mach-O object files. |
pe
Package pe implements access to PE (Microsoft Windows Portable Executable) files.
|
Package pe implements access to PE (Microsoft Windows Portable Executable) files. |
plan9obj
Package plan9obj implements access to Plan 9 a.out object files.
|
Package plan9obj implements access to Plan 9 a.out object files. |
go
|
|
ast
Package ast declares the types used to represent syntax trees for Go packages.
|
Package ast declares the types used to represent syntax trees for Go packages. |
build
Package build gathers information about Go packages.
|
Package build gathers information about Go packages. |
build/constraint
Package constraint implements parsing and evaluation of build constraint lines.
|
Package constraint implements parsing and evaluation of build constraint lines. |
constant
Package constant implements Values representing untyped Go constants and their corresponding operations.
|
Package constant implements Values representing untyped Go constants and their corresponding operations. |
doc
Package doc extracts source code documentation from a Go AST.
|
Package doc extracts source code documentation from a Go AST. |
doc/comment
Package comment implements parsing and reformatting of Go doc comments, (documentation comments), which are comments that immediately precede a top-level declaration of a package, const, func, type, or var.
|
Package comment implements parsing and reformatting of Go doc comments, (documentation comments), which are comments that immediately precede a top-level declaration of a package, const, func, type, or var. |
format
Package format implements standard formatting of Go source.
|
Package format implements standard formatting of Go source. |
importer
Package importer provides access to export data importers.
|
Package importer provides access to export data importers. |
internal/gccgoimporter
Package gccgoimporter implements Import for gccgo-generated object files.
|
Package gccgoimporter implements Import for gccgo-generated object files. |
internal/gcimporter
Package gcimporter implements Import for gc-generated object files.
|
Package gcimporter implements Import for gc-generated object files. |
internal/srcimporter
Package srcimporter implements importing directly from source files rather than installed packages.
|
Package srcimporter implements importing directly from source files rather than installed packages. |
parser
Package parser implements a parser for Go source files.
|
Package parser implements a parser for Go source files. |
printer
Package printer implements printing of AST nodes.
|
Package printer implements printing of AST nodes. |
scanner
Package scanner implements a scanner for Go source text.
|
Package scanner implements a scanner for Go source text. |
token
Package token defines constants representing the lexical tokens of the Go programming language and basic operations on tokens (printing, predicates).
|
Package token defines constants representing the lexical tokens of the Go programming language and basic operations on tokens (printing, predicates). |
types
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. |
version
Package version provides operations on [Go versions] in [Go toolchain name syntax]: strings like "go1.20", "go1.21.0", "go1.22rc2", and "go1.23.4-bigcorp".
|
Package version provides operations on [Go versions] in [Go toolchain name syntax]: strings like "go1.20", "go1.21.0", "go1.22rc2", and "go1.23.4-bigcorp". |
internal
|
|
bisect
Package bisect can be used by compilers and other programs to serve as a target for the bisect debugging tool.
|
Package bisect can be used by compilers and other programs to serve as a target for the bisect debugging tool. |
buildcfg
Package buildcfg provides access to the build configuration described by the current environment.
|
Package buildcfg provides access to the build configuration described by the current environment. |
cfg
Package cfg holds configuration shared by the Go command and internal/testenv.
|
Package cfg holds configuration shared by the Go command and internal/testenv. |
chacha8rand
Package chacha8rand implements a pseudorandom generator based on ChaCha8.
|
Package chacha8rand implements a pseudorandom generator based on ChaCha8. |
cpu
Package cpu implements processor feature detection used by the Go standard library.
|
Package cpu implements processor feature detection used by the Go standard library. |
dag
Package dag implements a language for expressing directed acyclic graphs.
|
Package dag implements a language for expressing directed acyclic graphs. |
fmtsort
Package fmtsort provides a general stable ordering mechanism for maps, on behalf of the fmt and text/template packages.
|
Package fmtsort provides a general stable ordering mechanism for maps, on behalf of the fmt and text/template packages. |
fuzz
Package fuzz provides common fuzzing functionality for tests built with "go test" and for programs that use fuzzing functionality in the testing package.
|
Package fuzz provides common fuzzing functionality for tests built with "go test" and for programs that use fuzzing functionality in the testing package. |
goarch
package goarch contains GOARCH-specific constants.
|
package goarch contains GOARCH-specific constants. |
godebug
Package godebug makes the settings in the $GODEBUG environment variable available to other packages.
|
Package godebug makes the settings in the $GODEBUG environment variable available to other packages. |
godebugs
Package godebugs provides a table of known GODEBUG settings, for use by a variety of other packages, including internal/godebug, runtime, runtime/metrics, and cmd/go/internal/load.
|
Package godebugs provides a table of known GODEBUG settings, for use by a variety of other packages, including internal/godebug, runtime, runtime/metrics, and cmd/go/internal/load. |
goexperiment
Package goexperiment implements support for toolchain experiments.
|
Package goexperiment implements support for toolchain experiments. |
goos
package goos contains GOOS-specific constants.
|
package goos contains GOOS-specific constants. |
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. |
intern
Package intern lets you make smaller comparable values by boxing a larger comparable value (such as a 16 byte string header) down into a globally unique 8 byte pointer.
|
Package intern lets you make smaller comparable values by boxing a larger comparable value (such as a 16 byte string header) down into a globally unique 8 byte pointer. |
lazyregexp
Package lazyregexp is a thin wrapper over regexp, allowing the use of global regexp variables without forcing them to be compiled at init.
|
Package lazyregexp is a thin wrapper over regexp, allowing the use of global regexp variables without forcing them to be compiled at init. |
lazytemplate
Package lazytemplate is a thin wrapper over text/template, allowing the use of global template variables without forcing them to be parsed at init.
|
Package lazytemplate is a thin wrapper over text/template, allowing the use of global template variables without forcing them to be parsed at init. |
nettrace
Package nettrace contains internal hooks for tracing activity in the net package.
|
Package nettrace contains internal hooks for tracing activity in the net package. |
obscuretestdata
Package obscuretestdata contains functionality used by tests to more easily work with testdata that must be obscured primarily due to golang.org/issue/34986.
|
Package obscuretestdata contains functionality used by tests to more easily work with testdata that must be obscured primarily due to golang.org/issue/34986. |
oserror
Package oserror defines errors values used in the os package.
|
Package oserror defines errors values used in the os package. |
pkgbits
Package pkgbits implements low-level coding abstractions for Unified IR's export data format.
|
Package pkgbits implements low-level coding abstractions for Unified IR's export data format. |
poll
Package poll supports non-blocking I/O on file descriptors with polling.
|
Package poll supports non-blocking I/O on file descriptors with polling. |
profile
Package profile provides a representation of github.com/google/pprof/proto/profile.proto and methods to encode/decode/merge profiles in this format.
|
Package profile provides a representation of github.com/google/pprof/proto/profile.proto and methods to encode/decode/merge profiles in this format. |
race
Package race contains helper functions for manually instrumenting code for the race detector.
|
Package race contains helper functions for manually instrumenting code for the race detector. |
reflectlite
Package reflectlite implements lightweight version of reflect, not using any package except for "runtime", "unsafe", and "internal/abi"
|
Package reflectlite implements lightweight version of reflect, not using any package except for "runtime", "unsafe", and "internal/abi" |
safefilepath
Package safefilepath manipulates operating-system file paths.
|
Package safefilepath manipulates operating-system file paths. |
saferio
Package saferio provides I/O functions that avoid allocating large amounts of memory unnecessarily.
|
Package saferio provides I/O functions that avoid allocating large amounts of memory unnecessarily. |
singleflight
Package singleflight provides a duplicate function call suppression mechanism.
|
Package singleflight provides a duplicate function call suppression mechanism. |
syscall/windows/registry
Package registry provides access to the Windows registry.
|
Package registry provides access to the Windows registry. |
syscall/windows/sysdll
Package sysdll is an internal leaf package that records and reports which Windows DLL names are used by Go itself.
|
Package sysdll is an internal leaf package that records and reports which Windows DLL names are used by Go itself. |
sysinfo
Package sysinfo implements high level hardware information gathering that can be used for debugging or information purposes.
|
Package sysinfo implements high level hardware information gathering that can be used for debugging or information purposes. |
testenv
Package testenv provides information about what functionality is available in different testing environments run by the Go team.
|
Package testenv provides information about what functionality is available in different testing environments run by the Go team. |
testlog
Package testlog provides a back-channel communication path between tests and package os, so that cmd/go can see which environment variables and files a test consults.
|
Package testlog provides a back-channel communication path between tests and package os, so that cmd/go can see which environment variables and files a test consults. |
testpty
Package testpty is a simple pseudo-terminal package for Unix systems, implemented by calling C functions via cgo.
|
Package testpty is a simple pseudo-terminal package for Unix systems, implemented by calling C functions via cgo. |
trace/traceviewer/format
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. |
trace/v2/raw
Package raw provides an interface to interpret and emit Go execution traces.
|
Package raw provides an interface to interpret and emit Go execution traces. |
txtar
Package txtar implements a trivial text-based file archive format.
|
Package txtar implements a trivial text-based file archive format. |
unsafeheader
Package unsafeheader contains header declarations for the Go runtime's slice and string implementations.
|
Package unsafeheader contains header declarations for the Go runtime's slice and string implementations. |
xcoff
Package xcoff implements access to XCOFF (Extended Common Object File Format) files.
|
Package xcoff implements access to XCOFF (Extended Common Object File Format) files. |
zstd
Package zstd provides a decompressor for zstd streams, described in RFC 8878.
|
Package zstd provides a decompressor for zstd streams, described in RFC 8878. |
xvendor
|
|
github.com/google/pprof/driver
Package driver provides an external entry point to the pprof driver.
|
Package driver provides an external entry point to the pprof driver. |
github.com/google/pprof/internal/binutils
Package binutils provides access to the GNU binutils.
|
Package binutils provides access to the GNU binutils. |
github.com/google/pprof/internal/driver
Package driver implements the core pprof functionality.
|
Package driver implements the core pprof functionality. |
github.com/google/pprof/internal/elfexec
Package elfexec provides utility routines to examine ELF binaries.
|
Package elfexec provides utility routines to examine ELF binaries. |
github.com/google/pprof/internal/graph
Package graph collects a set of samples into a directed graph.
|
Package graph collects a set of samples into a directed graph. |
github.com/google/pprof/internal/measurement
Package measurement export utility functions to manipulate/format performance profile sample values.
|
Package measurement export utility functions to manipulate/format performance profile sample values. |
github.com/google/pprof/internal/plugin
Package plugin defines the plugin implementations that the main pprof driver requires.
|
Package plugin defines the plugin implementations that the main pprof driver requires. |
github.com/google/pprof/internal/report
Package report summarizes a performance profile into a human-readable report.
|
Package report summarizes a performance profile into a human-readable report. |
github.com/google/pprof/internal/symbolizer
Package symbolizer provides a routine to populate a profile with symbol, file and line number information.
|
Package symbolizer provides a routine to populate a profile with symbol, file and line number information. |
github.com/google/pprof/internal/symbolz
Package symbolz symbolizes a profile using the output from the symbolz service.
|
Package symbolz symbolizes a profile using the output from the symbolz service. |
github.com/google/pprof/internal/transport
Package transport provides a mechanism to send requests with https cert, key, and CA.
|
Package transport provides a mechanism to send requests with https cert, key, and CA. |
github.com/google/pprof/profile
Package profile provides a representation of profile.proto and methods to encode/decode profiles in this format.
|
Package profile provides a representation of profile.proto and methods to encode/decode profiles in this format. |
github.com/ianlancetaylor/demangle
Package demangle defines functions that demangle GCC/LLVM C++ and Rust symbol names.
|
Package demangle defines functions that demangle GCC/LLVM C++ and Rust symbol names. |
golang.org/x/arch/ppc64/ppc64asm
Package ppc64asm implements decoding of 64-bit PowerPC machine code.
|
Package ppc64asm implements decoding of 64-bit PowerPC machine code. |
golang.org/x/arch/x86/x86asm
Package x86asm implements decoding of x86 machine code.
|
Package x86asm implements decoding of x86 machine code. |
golang.org/x/mod/internal/lazyregexp
Package lazyregexp is a thin wrapper over regexp, allowing the use of global regexp variables without forcing them to be compiled at init.
|
Package lazyregexp is a thin wrapper over regexp, allowing the use of global regexp variables without forcing them to be compiled at init. |
golang.org/x/mod/modfile
Package modfile implements a parser and formatter for go.mod files.
|
Package modfile implements a parser and formatter for go.mod files. |
golang.org/x/mod/module
Package module defines the module.Version type along with support code.
|
Package module defines the module.Version type along with support code. |
golang.org/x/mod/semver
Package semver implements comparison of semantic version strings.
|
Package semver implements comparison of semantic version strings. |
golang.org/x/mod/sumdb
Package sumdb implements the HTTP protocols for serving or accessing a module checksum database.
|
Package sumdb implements the HTTP protocols for serving or accessing a module checksum database. |
golang.org/x/mod/sumdb/dirhash
Package dirhash defines hashes over directory trees.
|
Package dirhash defines hashes over directory trees. |
golang.org/x/mod/sumdb/note
Package note defines the notes signed by the Go module database server.
|
Package note defines the notes signed by the Go module database server. |
golang.org/x/mod/sumdb/tlog
Package tlog implements a tamper-evident log used in the Go module go.sum database server.
|
Package tlog implements a tamper-evident log used in the Go module go.sum database server. |
golang.org/x/mod/zip
Package zip provides functions for creating and extracting module zip files.
|
Package zip provides functions for creating and extracting module zip files. |
golang.org/x/sync/semaphore
Package semaphore provides a weighted semaphore implementation.
|
Package semaphore provides a weighted semaphore implementation. |
golang.org/x/sys/unix
Package unix contains an interface to the low-level operating system primitives.
|
Package unix contains an interface to the low-level operating system primitives. |
golang.org/x/sys/windows
Package windows contains an interface to the low-level operating system primitives.
|
Package windows contains an interface to the low-level operating system primitives. |
golang.org/x/term
Package term provides support functions for dealing with terminals, as commonly found on UNIX systems.
|
Package term provides support functions for dealing with terminals, as commonly found on UNIX systems. |
golang.org/x/tools/cmd/bisect
Bisect finds changes responsible for causing a failure.
|
Bisect finds changes responsible for causing a failure. |
golang.org/x/tools/cover
Package cover provides support for parsing coverage profiles generated by "go test -coverprofile=cover.out".
|
Package cover provides support for parsing coverage profiles generated by "go test -coverprofile=cover.out". |
golang.org/x/tools/go/analysis
Package analysis defines the interface between a modular static analysis and an analysis driver program.
|
Package analysis defines the interface between a modular static analysis and an analysis driver program. |
golang.org/x/tools/go/analysis/internal/analysisflags
Package analysisflags defines helpers for processing flags of analysis driver tools.
|
Package analysisflags defines helpers for processing flags of analysis driver tools. |
golang.org/x/tools/go/analysis/passes/appends
Package appends defines an Analyzer that detects if there is only one variable in append.
|
Package appends defines an Analyzer that detects if there is only one variable in append. |
golang.org/x/tools/go/analysis/passes/asmdecl
Package asmdecl defines an Analyzer that reports mismatches between assembly files and Go declarations.
|
Package asmdecl defines an Analyzer that reports mismatches between assembly files and Go declarations. |
golang.org/x/tools/go/analysis/passes/assign
Package assign defines an Analyzer that detects useless assignments.
|
Package assign defines an Analyzer that detects useless assignments. |
golang.org/x/tools/go/analysis/passes/atomic
Package atomic defines an Analyzer that checks for common mistakes using the sync/atomic package.
|
Package atomic defines an Analyzer that checks for common mistakes using the sync/atomic package. |
golang.org/x/tools/go/analysis/passes/bools
Package bools defines an Analyzer that detects common mistakes involving boolean operators.
|
Package bools defines an Analyzer that detects common mistakes involving boolean operators. |
golang.org/x/tools/go/analysis/passes/buildtag
Package buildtag defines an Analyzer that checks build tags.
|
Package buildtag defines an Analyzer that checks build tags. |
golang.org/x/tools/go/analysis/passes/cgocall
Package cgocall defines an Analyzer that detects some violations of the cgo pointer passing rules.
|
Package cgocall defines an Analyzer that detects some violations of the cgo pointer passing rules. |
golang.org/x/tools/go/analysis/passes/composite
Package composite defines an Analyzer that checks for unkeyed composite literals.
|
Package composite defines an Analyzer that checks for unkeyed composite literals. |
golang.org/x/tools/go/analysis/passes/copylock
Package copylock defines an Analyzer that checks for locks erroneously passed by value.
|
Package copylock defines an Analyzer that checks for locks erroneously passed by value. |
golang.org/x/tools/go/analysis/passes/ctrlflow
Package ctrlflow is an analysis that provides a syntactic control-flow graph (CFG) for the body of a function.
|
Package ctrlflow is an analysis that provides a syntactic control-flow graph (CFG) for the body of a function. |
golang.org/x/tools/go/analysis/passes/defers
Package defers defines an Analyzer that checks for common mistakes in defer statements.
|
Package defers defines an Analyzer that checks for common mistakes in defer statements. |
golang.org/x/tools/go/analysis/passes/directive
Package directive defines an Analyzer that checks known Go toolchain directives.
|
Package directive defines an Analyzer that checks known Go toolchain directives. |
golang.org/x/tools/go/analysis/passes/errorsas
The errorsas package defines an Analyzer that checks that the second argument to errors.As is a pointer to a type implementing error.
|
The errorsas package defines an Analyzer that checks that the second argument to errors.As is a pointer to a type implementing error. |
golang.org/x/tools/go/analysis/passes/framepointer
Package framepointer defines an Analyzer that reports assembly code that clobbers the frame pointer before saving it.
|
Package framepointer defines an Analyzer that reports assembly code that clobbers the frame pointer before saving it. |
golang.org/x/tools/go/analysis/passes/httpresponse
Package httpresponse defines an Analyzer that checks for mistakes using HTTP responses.
|
Package httpresponse defines an Analyzer that checks for mistakes using HTTP responses. |
golang.org/x/tools/go/analysis/passes/ifaceassert
Package ifaceassert defines an Analyzer that flags impossible interface-interface type assertions.
|
Package ifaceassert defines an Analyzer that flags impossible interface-interface type assertions. |
golang.org/x/tools/go/analysis/passes/inspect
Package inspect defines an Analyzer that provides an AST inspector (golang.org/x/tools/go/ast/inspector.Inspector) for the syntax trees of a package.
|
Package inspect defines an Analyzer that provides an AST inspector (golang.org/x/tools/go/ast/inspector.Inspector) for the syntax trees of a package. |
golang.org/x/tools/go/analysis/passes/internal/analysisutil
Package analysisutil defines various helper functions used by two or more packages beneath go/analysis.
|
Package analysisutil defines various helper functions used by two or more packages beneath go/analysis. |
golang.org/x/tools/go/analysis/passes/loopclosure
Package loopclosure defines an Analyzer that checks for references to enclosing loop variables from within nested functions.
|
Package loopclosure defines an Analyzer that checks for references to enclosing loop variables from within nested functions. |
golang.org/x/tools/go/analysis/passes/lostcancel
Package lostcancel defines an Analyzer that checks for failure to call a context cancellation function.
|
Package lostcancel defines an Analyzer that checks for failure to call a context cancellation function. |
golang.org/x/tools/go/analysis/passes/nilfunc
Package nilfunc defines an Analyzer that checks for useless comparisons against nil.
|
Package nilfunc defines an Analyzer that checks for useless comparisons against nil. |
golang.org/x/tools/go/analysis/passes/printf
Package printf defines an Analyzer that checks consistency of Printf format strings and arguments.
|
Package printf defines an Analyzer that checks consistency of Printf format strings and arguments. |
golang.org/x/tools/go/analysis/passes/shift
Package shift defines an Analyzer that checks for shifts that exceed the width of an integer.
|
Package shift defines an Analyzer that checks for shifts that exceed the width of an integer. |
golang.org/x/tools/go/analysis/passes/sigchanyzer
Package sigchanyzer defines an Analyzer that detects misuse of unbuffered signal as argument to signal.Notify.
|
Package sigchanyzer defines an Analyzer that detects misuse of unbuffered signal as argument to signal.Notify. |
golang.org/x/tools/go/analysis/passes/slog
Package slog defines an Analyzer that checks for mismatched key-value pairs in log/slog calls.
|
Package slog defines an Analyzer that checks for mismatched key-value pairs in log/slog calls. |
golang.org/x/tools/go/analysis/passes/stdmethods
Package stdmethods defines an Analyzer that checks for misspellings in the signatures of methods similar to well-known interfaces.
|
Package stdmethods defines an Analyzer that checks for misspellings in the signatures of methods similar to well-known interfaces. |
golang.org/x/tools/go/analysis/passes/stringintconv
Package stringintconv defines an Analyzer that flags type conversions from integers to strings.
|
Package stringintconv defines an Analyzer that flags type conversions from integers to strings. |
golang.org/x/tools/go/analysis/passes/structtag
Package structtag defines an Analyzer that checks struct field tags are well formed.
|
Package structtag defines an Analyzer that checks struct field tags are well formed. |
golang.org/x/tools/go/analysis/passes/testinggoroutine
Package testinggoroutine defines an Analyzerfor detecting calls to Fatal from a test goroutine.
|
Package testinggoroutine defines an Analyzerfor detecting calls to Fatal from a test goroutine. |
golang.org/x/tools/go/analysis/passes/tests
Package tests defines an Analyzer that checks for common mistaken usages of tests and examples.
|
Package tests defines an Analyzer that checks for common mistaken usages of tests and examples. |
golang.org/x/tools/go/analysis/passes/timeformat
Package timeformat defines an Analyzer that checks for the use of time.Format or time.Parse calls with a bad format.
|
Package timeformat defines an Analyzer that checks for the use of time.Format or time.Parse calls with a bad format. |
golang.org/x/tools/go/analysis/passes/unmarshal
The unmarshal package defines an Analyzer that checks for passing non-pointer or non-interface types to unmarshal and decode functions.
|
The unmarshal package defines an Analyzer that checks for passing non-pointer or non-interface types to unmarshal and decode functions. |
golang.org/x/tools/go/analysis/passes/unreachable
Package unreachable defines an Analyzer that checks for unreachable code.
|
Package unreachable defines an Analyzer that checks for unreachable code. |
golang.org/x/tools/go/analysis/passes/unsafeptr
Package unsafeptr defines an Analyzer that checks for invalid conversions of uintptr to unsafe.Pointer.
|
Package unsafeptr defines an Analyzer that checks for invalid conversions of uintptr to unsafe.Pointer. |
golang.org/x/tools/go/analysis/passes/unusedresult
Package unusedresult defines an analyzer that checks for unused results of calls to certain pure functions.
|
Package unusedresult defines an analyzer that checks for unused results of calls to certain pure functions. |
golang.org/x/tools/go/analysis/unitchecker
The unitchecker package defines the main function for an analysis driver that analyzes a single compilation unit during a build.
|
The unitchecker package defines the main function for an analysis driver that analyzes a single compilation unit during a build. |
golang.org/x/tools/go/ast/astutil
Package astutil contains common utilities for working with the Go AST.
|
Package astutil contains common utilities for working with the Go AST. |
golang.org/x/tools/go/ast/inspector
Package inspector provides helper functions for traversal over the syntax trees of a package, including node filtering by type, and materialization of the traversal stack.
|
Package inspector provides helper functions for traversal over the syntax trees of a package, including node filtering by type, and materialization of the traversal stack. |
golang.org/x/tools/go/cfg
Package cfg constructs a simple control-flow graph (CFG) of the statements and expressions within a single function.
|
Package cfg constructs a simple control-flow graph (CFG) of the statements and expressions within a single function. |
golang.org/x/tools/go/types/objectpath
Package objectpath defines a naming scheme for types.Objects (that is, named entities in Go programs) relative to their enclosing package.
|
Package objectpath defines a naming scheme for types.Objects (that is, named entities in Go programs) relative to their enclosing package. |
golang.org/x/tools/go/types/typeutil
Package typeutil defines various utilities for types, such as Map, a mapping from types.Type to interface{} values.
|
Package typeutil defines various utilities for types, such as Map, a mapping from types.Type to interface{} values. |
golang.org/x/tools/internal/analysisinternal
Package analysisinternal provides gopls' internal analyses with a number of helper functions that operate on typed syntax trees.
|
Package analysisinternal provides gopls' internal analyses with a number of helper functions that operate on typed syntax trees. |
golang.org/x/tools/internal/bisect
Package bisect can be used by compilers and other programs to serve as a target for the bisect debugging tool.
|
Package bisect can be used by compilers and other programs to serve as a target for the bisect debugging tool. |
golang.org/x/tools/internal/facts
Package facts defines a serializable set of analysis.Fact.
|
Package facts defines a serializable set of analysis.Fact. |
golang.org/x/tools/internal/typeparams
Package typeparams contains common utilities for writing tools that interact with generic Go code, as introduced with Go 1.18.
|
Package typeparams contains common utilities for writing tools that interact with generic Go code, as introduced with Go 1.18. |
Click to show internal directories.
Click to hide internal directories.