Directories ¶
Path | Synopsis |
---|---|
Package asan contains helper functions for manually instrumenting code for the address sanitizer.
|
Package asan contains helper functions for manually instrumenting code for the address sanitizer. |
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. |
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. |
Package byteorder provides functions for decoding and encoding little and big endian integer types from/to byte slices.
|
Package byteorder provides functions for decoding and encoding little and big endian integer types from/to byte slices. |
Package cfg holds configuration shared by the Go command and internal/testenv.
|
Package cfg holds configuration shared by the Go command and internal/testenv. |
Package chacha8rand implements a pseudorandom generator based on ChaCha8.
|
Package chacha8rand implements a pseudorandom generator based on ChaCha8. |
cfile
Package cfile implements management of coverage files.
|
Package cfile implements management of coverage files. |
Package cpu implements processor feature detection used by the Go standard library.
|
Package cpu implements processor feature detection used by the Go standard library. |
Package dag implements a language for expressing directed acyclic graphs.
|
Package dag implements a language for expressing directed acyclic graphs. |
Package filepathlite implements a subset of path/filepath, only using packages which may be imported by "os".
|
Package filepathlite implements a subset of path/filepath, only using packages which may be imported by "os". |
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. |
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. |
package goarch contains GOARCH-specific constants.
|
package goarch contains GOARCH-specific constants. |
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. |
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. |
Package goexperiment implements support for toolchain experiments.
|
Package goexperiment implements support for toolchain experiments. |
package goos contains GOOS-specific constants.
|
package goos contains GOOS-specific constants. |
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. |
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. |
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. |
Package msan contains helper functions for manually instrumenting code for the memory sanitizer.
|
Package msan contains helper functions for manually instrumenting code for the memory sanitizer. |
Package nettrace contains internal hooks for tracing activity in the net package.
|
Package nettrace contains internal hooks for tracing activity in the net package. |
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. |
Package oserror defines errors values used in the os package.
|
Package oserror defines errors values used in the os package. |
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. |
Package poll supports non-blocking I/O on file descriptors with polling.
|
Package poll supports non-blocking I/O on file descriptors with polling. |
Package profile represents a pprof profile as a directed graph.
|
Package profile represents a pprof profile as a directed graph. |
Package profilerecord holds internal types used to represent profiling records with deep stack traces.
|
Package profilerecord holds internal types used to represent profiling records with deep stack traces. |
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. |
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" |
runtime
|
|
atomic
Package atomic provides atomic operations, independent of sync/atomic, to the runtime.
|
Package atomic provides atomic operations, independent of sync/atomic, to the runtime. |
exithook
Package exithook provides limited support for on-exit cleanup.
|
Package exithook provides limited support for on-exit cleanup. |
maps
Package maps implements Go's builtin map type.
|
Package maps implements Go's builtin map type. |
maps/internal/abi
Package abi is a temporary copy of the swissmap abi.
|
Package abi is a temporary copy of the swissmap abi. |
sys
package sys contains system- and configuration- and architecture-specific constants used by the runtime.
|
package sys contains system- and configuration- and architecture-specific constants used by the runtime. |
syscall
Package syscall provides the syscall primitives required for the runtime.
|
Package syscall provides the syscall primitives required for the runtime. |
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. |
Package singleflight provides a duplicate function call suppression mechanism.
|
Package singleflight provides a duplicate function call suppression mechanism. |
Package stringslite implements a subset of strings, only using packages that may be imported by "os".
|
Package stringslite implements a subset of strings, only using packages that may be imported by "os". |
syscall
|
|
windows/registry
Package registry provides access to the Windows registry.
|
Package registry provides access to the Windows registry. |
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. |
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. |
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. |
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. |
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. |
internal/oldtrace
Package oldtrace implements a parser for Go execution traces from versions 1.11–1.21.
|
Package oldtrace implements a parser for Go execution traces from versions 1.11–1.21. |
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. |
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. |
Package txtar implements a trivial text-based file archive format.
|
Package txtar implements a trivial text-based file archive format. |
types
|
|
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. |
The weak package is a package for managing weak pointers.
|
The weak package is a package for managing weak pointers. |
Package xcoff implements access to XCOFF (Extended Common Object File Format) files.
|
Package xcoff implements access to XCOFF (Extended Common Object File Format) files. |
Package zstd provides a decompressor for zstd streams, described in RFC 8878.
|
Package zstd provides a decompressor for zstd streams, described in RFC 8878. |
Click to show internal directories.
Click to hide internal directories.