Documentation
¶
There is no documentation for this package.
Directories
¶
| Path | Synopsis |
|---|---|
|
src
|
|
|
archive/zip
Package zip provides support for reading and writing ZIP archives.
|
Package zip provides support for reading and writing ZIP archives. |
|
bufio
Package bufio implements buffered I/O. It wraps an io.Reader or io.Writer object, creating another object (Reader or Writer) that also implements the interface but provides buffering and some help for textual I/O.
|
Package bufio implements buffered I/O. It wraps an io.Reader or io.Writer object, creating another object (Reader or Writer) that also implements the interface but provides buffering and some help for textual I/O. |
|
bytes
Package bytes implements functions for the manipulation of byte slices.
|
Package bytes implements functions for the manipulation of byte slices. |
|
cmp
Package cmp provides types and functions related to comparing ordered values.
|
Package cmp provides types and functions related to comparing ordered values. |
|
compress/flate
Package flate implements the DEFLATE compressed data format, described in RFC 1951.
|
Package flate implements the DEFLATE compressed data format, described in RFC 1951. |
|
context
Package context defines the Context type, which carries deadlines, cancellation signals, and other request-scoped values across API boundaries and between processes.
|
Package context defines the Context type, which carries deadlines, cancellation signals, and other request-scoped values across API boundaries and between processes. |
|
embed
Package embed provides access to files embedded in the running Go program.
|
Package embed provides access to files embedded in the running Go program. |
|
encoding
Package encoding defines interfaces shared by other packages that convert data to and from byte-level and textual representations.
|
Package encoding defines interfaces shared by other packages that convert data to and from byte-level and textual representations. |
|
encoding/binary
Package binary implements simple translation between numbers and byte sequences and encoding and decoding of varints.
|
Package binary implements simple translation between numbers and byte sequences and encoding and decoding of varints. |
|
errors
Package errors implements functions to manipulate errors.
|
Package errors implements functions to manipulate errors. |
|
fmt
Package fmt implements formatted I/O with functions analogous to C's printf and scanf.
|
Package fmt implements formatted I/O with functions analogous to C's printf and scanf. |
|
hash
Package hash provides interfaces for hash functions.
|
Package hash provides interfaces for hash functions. |
|
hash/crc32
Package crc32 implements the 32-bit cyclic redundancy check, or CRC-32, checksum.
|
Package crc32 implements the 32-bit cyclic redundancy check, or CRC-32, checksum. |
|
internal/asan
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. |
|
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. |
|
internal/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. |
|
internal/byteorder
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. |
|
internal/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. |
|
internal/chacha8rand
Package chacha8rand implements a pseudorandom generator based on ChaCha8.
|
Package chacha8rand implements a pseudorandom generator based on ChaCha8. |
|
internal/coverage/cfile
Package cfile implements management of coverage files.
|
Package cfile implements management of coverage files. |
|
internal/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. |
|
internal/dag
Package dag implements a language for expressing directed acyclic graphs.
|
Package dag implements a language for expressing directed acyclic graphs. |
|
internal/filepathlite
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". |
|
internal/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. |
|
internal/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. |
|
internal/goarch
package goarch contains GOARCH-specific constants.
|
package goarch contains GOARCH-specific constants. |
|
internal/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. |
|
internal/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. |
|
internal/goexperiment
Package goexperiment implements support for toolchain experiments.
|
Package goexperiment implements support for toolchain experiments. |
|
internal/goos
package goos contains GOOS-specific constants.
|
package goos contains GOOS-specific constants. |
|
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/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. |
|
internal/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. |
|
internal/msan
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. |
|
internal/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. |
|
internal/oserror
Package oserror defines errors values used in the os package.
|
Package oserror defines errors values used in the os package. |
|
internal/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. |
|
internal/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. |
|
internal/profile
Package profile represents a pprof profile as a directed graph.
|
Package profile represents a pprof profile as a directed graph. |
|
internal/profilerecord
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. |
|
internal/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. |
|
internal/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" |
|
internal/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. |
|
internal/runtime/exithook
Package exithook provides limited support for on-exit cleanup.
|
Package exithook provides limited support for on-exit cleanup. |
|
internal/runtime/syscall
Package syscall provides the syscall primitives required for the runtime.
|
Package syscall provides the syscall primitives required for the runtime. |
|
internal/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. |
|
internal/singleflight
Package singleflight provides a duplicate function call suppression mechanism.
|
Package singleflight provides a duplicate function call suppression mechanism. |
|
internal/stringslite
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". |
|
internal/syscall/windows/registry
Package registry provides access to the Windows registry.
|
Package registry provides access to the Windows registry. |
|
internal/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. |
|
internal/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. |
|
internal/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. |
|
internal/trace/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. |
|
internal/trace/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. |
|
internal/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. |
|
internal/txtar
Package txtar implements a trivial text-based file archive format.
|
Package txtar implements a trivial text-based file archive format. |
|
internal/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. |
|
internal/weak
The weak package is a package for managing weak pointers.
|
The weak package is a package for managing weak pointers. |
|
internal/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. |
|
internal/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. |
|
io
Package io provides basic interfaces to I/O primitives.
|
Package io provides basic interfaces to I/O primitives. |
|
io/fs
Package fs defines basic interfaces to a file system.
|
Package fs defines basic interfaces to a file system. |
|
io/ioutil
Package ioutil implements some I/O utility functions.
|
Package ioutil implements some I/O utility functions. |
|
iter
Package iter provides basic definitions and operations related to iterators over sequences.
|
Package iter provides basic definitions and operations related to iterators over sequences. |
|
math
Package math provides basic constants and mathematical functions.
|
Package math provides basic constants and mathematical functions. |
|
math/big
Package big implements arbitrary-precision arithmetic (big numbers).
|
Package big implements arbitrary-precision arithmetic (big numbers). |
|
math/bits
Package bits implements bit counting and manipulation functions for the predeclared unsigned integer types.
|
Package bits implements bit counting and manipulation functions for the predeclared unsigned integer types. |
|
math/cmplx
Package cmplx provides basic constants and mathematical functions for complex numbers.
|
Package cmplx provides basic constants and mathematical functions for complex numbers. |
|
math/rand
Package rand implements pseudo-random number generators suitable for tasks such as simulation, but it should not be used for security-sensitive work.
|
Package rand implements pseudo-random number generators suitable for tasks such as simulation, but it should not be used for security-sensitive work. |
|
math/rand/v2
Package rand implements pseudo-random number generators suitable for tasks such as simulation, but it should not be used for security-sensitive work.
|
Package rand implements pseudo-random number generators suitable for tasks such as simulation, but it should not be used for security-sensitive work. |
|
net
Package net provides a portable interface for network I/O, including TCP/IP, UDP, domain name resolution, and Unix domain sockets.
|
Package net provides a portable interface for network I/O, including TCP/IP, UDP, domain name resolution, and Unix domain sockets. |
|
net/dns/dnsmessage
Package dnsmessage provides a mostly RFC 1035 compliant implementation of DNS message packing and unpacking.
|
Package dnsmessage provides a mostly RFC 1035 compliant implementation of DNS message packing and unpacking. |
|
net/http
Package http provides HTTP client and server implementations.
|
Package http provides HTTP client and server implementations. |
|
net/http/cgi
Package cgi implements CGI (Common Gateway Interface) as specified in RFC 3875.
|
Package cgi implements CGI (Common Gateway Interface) as specified in RFC 3875. |
|
net/http/cookiejar
Package cookiejar implements an in-memory RFC 6265-compliant http.CookieJar.
|
Package cookiejar implements an in-memory RFC 6265-compliant http.CookieJar. |
|
net/http/fcgi
Package fcgi implements the FastCGI protocol.
|
Package fcgi implements the FastCGI protocol. |
|
net/http/httptest
Package httptest provides utilities for HTTP testing.
|
Package httptest provides utilities for HTTP testing. |
|
net/http/httptrace
Package httptrace provides mechanisms to trace the events within HTTP client requests.
|
Package httptrace provides mechanisms to trace the events within HTTP client requests. |
|
net/http/httputil
Package httputil provides HTTP utility functions, complementing the more common ones in the net/http package.
|
Package httputil provides HTTP utility functions, complementing the more common ones in the net/http package. |
|
net/http/internal
Package internal contains HTTP internals shared by net/http and net/http/httputil.
|
Package internal contains HTTP internals shared by net/http and net/http/httputil. |
|
net/http/internal/testcert
Package testcert contains a test-only localhost certificate.
|
Package testcert contains a test-only localhost certificate. |
|
net/http/pprof
Package pprof serves via its HTTP server runtime profiling data in the format expected by the pprof visualization tool.
|
Package pprof serves via its HTTP server runtime profiling data in the format expected by the pprof visualization tool. |
|
net/internal/socktest
Package socktest provides utilities for socket testing.
|
Package socktest provides utilities for socket testing. |
|
net/mail
Package mail implements parsing of mail messages.
|
Package mail implements parsing of mail messages. |
|
net/netip
Package netip defines an IP address type that's a small value type.
|
Package netip defines an IP address type that's a small value type. |
|
net/rpc
Package rpc provides access to the exported methods of an object across a network or other I/O connection.
|
Package rpc provides access to the exported methods of an object across a network or other I/O connection. |
|
net/rpc/jsonrpc
Package jsonrpc implements a JSON-RPC 1.0 ClientCodec and ServerCodec for the rpc package.
|
Package jsonrpc implements a JSON-RPC 1.0 ClientCodec and ServerCodec for the rpc package. |
|
net/smtp
Package smtp implements the Simple Mail Transfer Protocol as defined in RFC 5321.
|
Package smtp implements the Simple Mail Transfer Protocol as defined in RFC 5321. |
|
net/textproto
Package textproto implements generic support for text-based request/response protocols in the style of HTTP, NNTP, and SMTP.
|
Package textproto implements generic support for text-based request/response protocols in the style of HTTP, NNTP, and SMTP. |
|
net/url
Package url parses URLs and implements query escaping.
|
Package url parses URLs and implements query escaping. |
|
os
Package os provides a platform-independent interface to operating system functionality.
|
Package os provides a platform-independent interface to operating system functionality. |
|
os/exec
Package exec runs external commands.
|
Package exec runs external commands. |
|
os/exec/internal/fdtest
Package fdtest provides test helpers for working with file descriptors across exec.
|
Package fdtest provides test helpers for working with file descriptors across exec. |
|
os/signal
Package signal implements access to incoming signals.
|
Package signal implements access to incoming signals. |
|
os/user
Package user allows user account lookups by name or id.
|
Package user allows user account lookups by name or id. |
|
path
Package path implements utility routines for manipulating slash-separated paths.
|
Package path implements utility routines for manipulating slash-separated paths. |
|
path/filepath
Package filepath implements utility routines for manipulating filename paths in a way compatible with the target operating system-defined file paths.
|
Package filepath implements utility routines for manipulating filename paths in a way compatible with the target operating system-defined file paths. |
|
reflect
Package reflect implements run-time reflection, allowing a program to manipulate objects with arbitrary types.
|
Package reflect implements run-time reflection, allowing a program to manipulate objects with arbitrary types. |
|
runtime
Package runtime contains operations that interact with Go's runtime system, such as functions to control goroutines.
|
Package runtime contains operations that interact with Go's runtime system, such as functions to control goroutines. |
|
runtime/cgo
Package cgo contains runtime support for code generated by the cgo tool.
|
Package cgo contains runtime support for code generated by the cgo tool. |
|
runtime/debug
Package debug contains facilities for programs to debug themselves while they are running.
|
Package debug contains facilities for programs to debug themselves while they are running. |
|
runtime/internal/startlinetest
Package startlinetest contains helpers for runtime_test.TestStartLineAsm.
|
Package startlinetest contains helpers for runtime_test.TestStartLineAsm. |
|
runtime/internal/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. |
|
runtime/metrics
Package metrics provides a stable interface to access implementation-defined metrics exported by the Go runtime.
|
Package metrics provides a stable interface to access implementation-defined metrics exported by the Go runtime. |
|
runtime/pprof
Package pprof writes runtime profiling data in the format expected by the pprof visualization tool.
|
Package pprof writes runtime profiling data in the format expected by the pprof visualization tool. |
|
runtime/race
Package race implements data race detection logic.
|
Package race implements data race detection logic. |
|
runtime/trace
Package trace contains facilities for programs to generate traces for the Go execution tracer.
|
Package trace contains facilities for programs to generate traces for the Go execution tracer. |
|
slices
Package slices defines various functions useful with slices of any type.
|
Package slices defines various functions useful with slices of any type. |
|
sort
Package sort provides primitives for sorting slices and user-defined collections.
|
Package sort provides primitives for sorting slices and user-defined collections. |
|
strconv
Package strconv implements conversions to and from string representations of basic data types.
|
Package strconv implements conversions to and from string representations of basic data types. |
|
strings
Package strings implements simple functions to manipulate UTF-8 encoded strings.
|
Package strings implements simple functions to manipulate UTF-8 encoded strings. |
|
sync
Package sync provides basic synchronization primitives such as mutual exclusion locks.
|
Package sync provides basic synchronization primitives such as mutual exclusion locks. |
|
sync/atomic
Package atomic provides low-level atomic memory primitives useful for implementing synchronization algorithms.
|
Package atomic provides low-level atomic memory primitives useful for implementing synchronization algorithms. |
|
syscall
Package syscall contains an interface to the low-level operating system primitives.
|
Package syscall contains an interface to the low-level operating system primitives. |
|
syscall/js
Package js gives access to the WebAssembly host environment when using the js/wasm architecture.
|
Package js gives access to the WebAssembly host environment when using the js/wasm architecture. |
|
time
Package time provides functionality for measuring and displaying time.
|
Package time provides functionality for measuring and displaying time. |
|
time/tzdata
Package tzdata provides an embedded copy of the timezone database.
|
Package tzdata provides an embedded copy of the timezone database. |
|
unicode
Package unicode provides data and functions to test some properties of Unicode code points.
|
Package unicode provides data and functions to test some properties of Unicode code points. |
|
unicode/utf16
Package utf16 implements encoding and decoding of UTF-16 sequences.
|
Package utf16 implements encoding and decoding of UTF-16 sequences. |
|
unicode/utf8
Package utf8 implements functions and constants to support text encoded in UTF-8.
|
Package utf8 implements functions and constants to support text encoded in UTF-8. |
|
unique
The unique package provides facilities for canonicalizing ("interning") comparable values.
|
The unique package provides facilities for canonicalizing ("interning") comparable values. |
|
unsafe
Package unsafe contains operations that step around the type safety of Go programs.
|
Package unsafe contains operations that step around the type safety of Go programs. |
|
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. |
|
windows/mkwinsyscall
command
mkwinsyscall generates windows system call bodies
|
mkwinsyscall generates windows system call bodies |
|
windows/registry
Package registry provides access to the Windows registry.
|
Package registry provides access to the Windows registry. |
|
windows/svc
Package svc provides everything required to build Windows service.
|
Package svc provides everything required to build Windows service. |
|
windows/svc/debug
Package debug provides facilities to execute svc.Handler on console.
|
Package debug provides facilities to execute svc.Handler on console. |
|
windows/svc/eventlog
Package eventlog implements access to Windows event log.
|
Package eventlog implements access to Windows event log. |
|
windows/svc/mgr
Package mgr can be used to manage Windows service programs.
|
Package mgr can be used to manage Windows service programs. |
Click to show internal directories.
Click to hide internal directories.