Directories ¶
Path | Synopsis |
---|---|
gcc
|
|
testsuite/go.go-torture/execute
names-1 is a change detector for Go symbol names.
|
names-1 is a change detector for Go symbol names. |
testsuite/go.test/test/bugs
Issue 1909 Would OOM due to exponential recursion on Foo's expanded methodset in nodefmt
|
Issue 1909 Would OOM due to exponential recursion on Foo's expanded methodset in nodefmt |
testsuite/go.test/test/stress
The runstress tool stresses the runtime.
|
The runstress tool stresses the runtime. |
libgo
|
|
go/archive/tar
Package tar implements access to tar archives.
|
Package tar implements access to tar archives. |
go/archive/zip
Package zip provides support for reading and writing ZIP archives.
|
Package zip provides support for reading and writing ZIP archives. |
go/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. |
go/builtin
Package builtin provides documentation for Go's predeclared identifiers.
|
Package builtin provides documentation for Go's predeclared identifiers. |
go/bytes
Package bytes implements functions for the manipulation of byte slices.
|
Package bytes implements functions for the manipulation of byte slices. |
go/cmd/buildid
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. |
go/cmd/cgo
Cgo enables the creation of Go packages that call C code.
|
Cgo enables the creation of Go packages that call C code. |
go/cmd/go
Go is a tool for managing Go source code.
|
Go is a tool for managing Go source code. |
go/cmd/go/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. |
go/cmd/go/internal/bug
Package bug implements the “go bug” command.
|
Package bug implements the “go bug” command. |
go/cmd/go/internal/cache
Package cache implements a build artifact cache.
|
Package cache implements a build artifact cache. |
go/cmd/go/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. |
go/cmd/go/internal/clean
Package clean implements the “go clean” command.
|
Package clean implements the “go clean” command. |
go/cmd/go/internal/cmdflag
Package cmdflag handles flag processing common to several go tools.
|
Package cmdflag handles flag processing common to several go tools. |
go/cmd/go/internal/dirhash
Package dirhash defines hashes over directory trees.
|
Package dirhash defines hashes over directory trees. |
go/cmd/go/internal/doc
Package doc implements the “go doc” command.
|
Package doc implements the “go doc” command. |
go/cmd/go/internal/envcmd
Package envcmd implements the “go env” command.
|
Package envcmd implements the “go env” command. |
go/cmd/go/internal/fix
Package fix implements the “go fix” command.
|
Package fix implements the “go fix” command. |
go/cmd/go/internal/fmtcmd
Package fmtcmd implements the “go fmt” command.
|
Package fmtcmd implements the “go fmt” command. |
go/cmd/go/internal/generate
Package generate implements the “go generate” command.
|
Package generate implements the “go generate” command. |
go/cmd/go/internal/get
Package get implements the “go get” command.
|
Package get implements the “go get” command. |
go/cmd/go/internal/help
Package help implements the “go help” command.
|
Package help implements the “go help” command. |
go/cmd/go/internal/list
Package list implements the “go list” command.
|
Package list implements the “go list” command. |
go/cmd/go/internal/load
Package load loads packages.
|
Package load loads packages. |
go/cmd/go/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. |
go/cmd/go/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. |
go/cmd/go/internal/modcmd
Package modcmd implements the “go mod” command.
|
Package modcmd implements the “go mod” command. |
go/cmd/go/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. |
go/cmd/go/internal/modget
Package modget implements the module-aware “go get” command.
|
Package modget implements the module-aware “go get” command. |
go/cmd/go/internal/module
Package module defines the module.Version type along with support code.
|
Package module defines the module.Version type along with support code. |
go/cmd/go/internal/mvs
Package mvs implements Minimal Version Selection.
|
Package mvs implements Minimal Version Selection. |
go/cmd/go/internal/par
Package par implements parallel execution helpers.
|
Package par implements parallel execution helpers. |
go/cmd/go/internal/renameio
Package renameio writes files atomically by renaming temporary files.
|
Package renameio writes files atomically by renaming temporary files. |
go/cmd/go/internal/run
Package run implements the “go run” command.
|
Package run implements the “go run” command. |
go/cmd/go/internal/semver
Package semver implements comparison of semantic version strings.
|
Package semver implements comparison of semantic version strings. |
go/cmd/go/internal/str
Package str provides string manipulation utilities.
|
Package str provides string manipulation utilities. |
go/cmd/go/internal/tool
Package tool implements the “go tool” command.
|
Package tool implements the “go tool” command. |
go/cmd/go/internal/txtar
Package txtar implements a trivial text-based file archive format.
|
Package txtar implements a trivial text-based file archive format. |
go/cmd/go/internal/version
Package version implements the “go version” command.
|
Package version implements the “go version” command. |
go/cmd/go/internal/vet
Package vet implements the “go vet” command.
|
Package vet implements the “go vet” command. |
go/cmd/go/internal/web
Package web defines helper routines for accessing HTTP/HTTPS resources.
|
Package web defines helper routines for accessing HTTP/HTTPS resources. |
go/cmd/gofmt
Gofmt formats Go programs.
|
Gofmt formats Go programs. |
go/cmd/internal/browser
Package browser provides utilities for interacting with users' browsers.
|
Package browser provides utilities for interacting with users' browsers. |
go/cmd/internal/edit
Package edit implements buffered position-based editing of byte slices.
|
Package edit implements buffered position-based editing of byte slices. |
go/cmd/internal/objabi
Originally, Go object files were Plan 9 object files, but no longer.
|
Originally, Go object files were Plan 9 object files, but no longer. |
go/cmd/internal/test2json
Package test2json implements conversion of test binary output to JSON.
|
Package test2json implements conversion of test binary output to JSON. |
go/cmd/test2json
Test2json converts go test output to a machine-readable JSON stream.
|
Test2json converts go test output to a machine-readable JSON stream. |
go/cmd/vet
Vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string.
|
Vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string. |
go/compress/bzip2
Package bzip2 implements bzip2 decompression.
|
Package bzip2 implements bzip2 decompression. |
go/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. |
go/compress/gzip
Package gzip implements reading and writing of gzip format compressed files, as specified in RFC 1952.
|
Package gzip implements reading and writing of gzip format compressed files, as specified in RFC 1952. |
go/compress/lzw
Package lzw implements the Lempel-Ziv-Welch compressed data format, described in T. A. Welch, “A Technique for High-Performance Data Compression”, Computer, 17(6) (June 1984), pp 8-19.
|
Package lzw implements the Lempel-Ziv-Welch compressed data format, described in T. A. Welch, “A Technique for High-Performance Data Compression”, Computer, 17(6) (June 1984), pp 8-19. |
go/compress/zlib
Package zlib implements reading and writing of zlib format compressed data, as specified in RFC 1950.
|
Package zlib implements reading and writing of zlib format compressed data, as specified in RFC 1950. |
go/container/heap
Package heap provides heap operations for any type that implements heap.Interface.
|
Package heap provides heap operations for any type that implements heap.Interface. |
go/container/list
Package list implements a doubly linked list.
|
Package list implements a doubly linked list. |
go/container/ring
Package ring implements operations on circular lists.
|
Package ring implements operations on circular lists. |
go/context
Package context defines the Context type, which carries deadlines, cancelation signals, and other request-scoped values across API boundaries and between processes.
|
Package context defines the Context type, which carries deadlines, cancelation signals, and other request-scoped values across API boundaries and between processes. |
go/crypto
Package crypto collects common cryptographic constants.
|
Package crypto collects common cryptographic constants. |
go/crypto/aes
Package aes implements AES encryption (formerly Rijndael), as defined in U.S. Federal Information Processing Standards Publication 197.
|
Package aes implements AES encryption (formerly Rijndael), as defined in U.S. Federal Information Processing Standards Publication 197. |
go/crypto/cipher
Package cipher implements standard block cipher modes that can be wrapped around low-level block cipher implementations.
|
Package cipher implements standard block cipher modes that can be wrapped around low-level block cipher implementations. |
go/crypto/des
Package des implements the Data Encryption Standard (DES) and the Triple Data Encryption Algorithm (TDEA) as defined in U.S. Federal Information Processing Standards Publication 46-3.
|
Package des implements the Data Encryption Standard (DES) and the Triple Data Encryption Algorithm (TDEA) as defined in U.S. Federal Information Processing Standards Publication 46-3. |
go/crypto/dsa
Package dsa implements the Digital Signature Algorithm, as defined in FIPS 186-3.
|
Package dsa implements the Digital Signature Algorithm, as defined in FIPS 186-3. |
go/crypto/ecdsa
Package ecdsa implements the Elliptic Curve Digital Signature Algorithm, as defined in FIPS 186-3.
|
Package ecdsa implements the Elliptic Curve Digital Signature Algorithm, as defined in FIPS 186-3. |
go/crypto/elliptic
Package elliptic implements several standard elliptic curves over prime fields.
|
Package elliptic implements several standard elliptic curves over prime fields. |
go/crypto/hmac
Package hmac implements the Keyed-Hash Message Authentication Code (HMAC) as defined in U.S. Federal Information Processing Standards Publication 198.
|
Package hmac implements the Keyed-Hash Message Authentication Code (HMAC) as defined in U.S. Federal Information Processing Standards Publication 198. |
go/crypto/internal/randutil
Package randutil contains internal randomness utilities for various crypto packages.
|
Package randutil contains internal randomness utilities for various crypto packages. |
go/crypto/internal/subtle
Package subtle implements functions that are often useful in cryptographic code but require careful thought to use correctly.
|
Package subtle implements functions that are often useful in cryptographic code but require careful thought to use correctly. |
go/crypto/md5
Package md5 implements the MD5 hash algorithm as defined in RFC 1321.
|
Package md5 implements the MD5 hash algorithm as defined in RFC 1321. |
go/crypto/rand
Package rand implements a cryptographically secure random number generator.
|
Package rand implements a cryptographically secure random number generator. |
go/crypto/rc4
Package rc4 implements RC4 encryption, as defined in Bruce Schneier's Applied Cryptography.
|
Package rc4 implements RC4 encryption, as defined in Bruce Schneier's Applied Cryptography. |
go/crypto/rsa
Package rsa implements RSA encryption as specified in PKCS#1.
|
Package rsa implements RSA encryption as specified in PKCS#1. |
go/crypto/sha1
Package sha1 implements the SHA-1 hash algorithm as defined in RFC 3174.
|
Package sha1 implements the SHA-1 hash algorithm as defined in RFC 3174. |
go/crypto/sha256
Package sha256 implements the SHA224 and SHA256 hash algorithms as defined in FIPS 180-4.
|
Package sha256 implements the SHA224 and SHA256 hash algorithms as defined in FIPS 180-4. |
go/crypto/sha512
Package sha512 implements the SHA-384, SHA-512, SHA-512/224, and SHA-512/256 hash algorithms as defined in FIPS 180-4.
|
Package sha512 implements the SHA-384, SHA-512, SHA-512/224, and SHA-512/256 hash algorithms as defined in FIPS 180-4. |
go/crypto/subtle
Package subtle implements functions that are often useful in cryptographic code but require careful thought to use correctly.
|
Package subtle implements functions that are often useful in cryptographic code but require careful thought to use correctly. |
go/crypto/tls
Package tls partially implements TLS 1.2, as specified in RFC 5246, and TLS 1.3, as specified in RFC 8446.
|
Package tls partially implements TLS 1.2, as specified in RFC 5246, and TLS 1.3, as specified in RFC 8446. |
go/crypto/x509
Package x509 parses X.509-encoded keys and certificates.
|
Package x509 parses X.509-encoded keys and certificates. |
go/crypto/x509/pkix
Package pkix contains shared, low level structures used for ASN.1 parsing and serialization of X.509 certificates, CRL and OCSP.
|
Package pkix contains shared, low level structures used for ASN.1 parsing and serialization of X.509 certificates, CRL and OCSP. |
go/database/sql
Package sql provides a generic interface around SQL (or SQL-like) databases.
|
Package sql provides a generic interface around SQL (or SQL-like) databases. |
go/database/sql/driver
Package driver defines interfaces to be implemented by database drivers as used by package sql.
|
Package driver defines interfaces to be implemented by database drivers as used by package sql. |
go/debug/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 |
go/debug/elf
Package elf implements access to ELF object files.
|
Package elf implements access to ELF object files. |
go/debug/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. |
go/debug/macho
Package macho implements access to Mach-O object files.
|
Package macho implements access to Mach-O object files. |
go/debug/pe
Package pe implements access to PE (Microsoft Windows Portable Executable) files.
|
Package pe implements access to PE (Microsoft Windows Portable Executable) files. |
go/debug/plan9obj
Package plan9obj implements access to Plan 9 a.out object files.
|
Package plan9obj implements access to Plan 9 a.out object files. |
go/debug/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. |
go/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. |
go/encoding/ascii85
Package ascii85 implements the ascii85 data encoding as used in the btoa tool and Adobe's PostScript and PDF document formats.
|
Package ascii85 implements the ascii85 data encoding as used in the btoa tool and Adobe's PostScript and PDF document formats. |
go/encoding/asn1
Package asn1 implements parsing of DER-encoded ASN.1 data structures, as defined in ITU-T Rec X.690.
|
Package asn1 implements parsing of DER-encoded ASN.1 data structures, as defined in ITU-T Rec X.690. |
go/encoding/base32
Package base32 implements base32 encoding as specified by RFC 4648.
|
Package base32 implements base32 encoding as specified by RFC 4648. |
go/encoding/base64
Package base64 implements base64 encoding as specified by RFC 4648.
|
Package base64 implements base64 encoding as specified by RFC 4648. |
go/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. |
go/encoding/csv
Package csv reads and writes comma-separated values (CSV) files.
|
Package csv reads and writes comma-separated values (CSV) files. |
go/encoding/gob
Package gob manages streams of gobs - binary values exchanged between an Encoder (transmitter) and a Decoder (receiver).
|
Package gob manages streams of gobs - binary values exchanged between an Encoder (transmitter) and a Decoder (receiver). |
go/encoding/hex
Package hex implements hexadecimal encoding and decoding.
|
Package hex implements hexadecimal encoding and decoding. |
go/encoding/json
Package json implements encoding and decoding of JSON as defined in RFC 7159.
|
Package json implements encoding and decoding of JSON as defined in RFC 7159. |
go/encoding/pem
Package pem implements the PEM data encoding, which originated in Privacy Enhanced Mail.
|
Package pem implements the PEM data encoding, which originated in Privacy Enhanced Mail. |
go/encoding/xml
Package xml implements a simple XML 1.0 parser that understands XML name spaces.
|
Package xml implements a simple XML 1.0 parser that understands XML name spaces. |
go/errors
Package errors implements functions to manipulate errors.
|
Package errors implements functions to manipulate errors. |
go/expvar
Package expvar provides a standardized interface to public variables, such as operation counters in servers.
|
Package expvar provides a standardized interface to public variables, such as operation counters in servers. |
go/flag
Package flag implements command-line flag parsing.
|
Package flag implements command-line flag parsing. |
go/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. |
go/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. |
go/go/build
Package build gathers information about Go packages.
|
Package build gathers information about Go packages. |
go/go/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. |
go/go/doc
Package doc extracts source code documentation from a Go AST.
|
Package doc extracts source code documentation from a Go AST. |
go/go/format
Package format implements standard formatting of Go source.
|
Package format implements standard formatting of Go source. |
go/go/importer
Package importer provides access to export data importers.
|
Package importer provides access to export data importers. |
go/go/internal/gccgoimporter
Package gccgoimporter implements Import for gccgo-generated object files.
|
Package gccgoimporter implements Import for gccgo-generated object files. |
go/go/internal/gcimporter
Package gcimporter implements Import for gc-generated object files.
|
Package gcimporter implements Import for gc-generated object files. |
go/go/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. |
go/go/parser
Package parser implements a parser for Go source files.
|
Package parser implements a parser for Go source files. |
go/go/printer
Package printer implements printing of AST nodes.
|
Package printer implements printing of AST nodes. |
go/go/scanner
Package scanner implements a scanner for Go source text.
|
Package scanner implements a scanner for Go source text. |
go/go/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). |
go/go/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. |
go/golang.org/x/tools/go/analysis
The analysis package defines the interface between a modular static analysis and an analysis driver program.
|
The analysis package defines the interface between a modular static analysis and an analysis driver program. |
go/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. |
go/golang.org/x/tools/go/analysis/internal/facts
Package facts defines a serializable set of analysis.Fact.
|
Package facts defines a serializable set of analysis.Fact. |
go/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. |
go/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. |
go/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. |
go/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. |
go/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. |
go/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. |
go/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. |
go/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. |
go/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. |
go/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. |
go/golang.org/x/tools/go/analysis/passes/inspect
Package inspect defines an Analyzer that provides an AST inspector (golang.org/x/tools/go/ast/inspect.Inspect) for the syntax trees of a package.
|
Package inspect defines an Analyzer that provides an AST inspector (golang.org/x/tools/go/ast/inspect.Inspect) for the syntax trees of a package. |
go/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. |
go/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. |
go/golang.org/x/tools/go/analysis/passes/lostcancel
Package lostcancel defines an Analyzer that checks for failure to call a context cancelation function.
|
Package lostcancel defines an Analyzer that checks for failure to call a context cancelation function. |
go/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. |
go/golang.org/x/tools/go/analysis/passes/pkgfact
The pkgfact package is a demonstration and test of the package fact mechanism.
|
The pkgfact package is a demonstration and test of the package fact mechanism. |
go/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. |
go/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. |
go/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. |
go/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. |
go/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. |
go/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. |
go/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. |
go/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. |
go/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. |
go/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. |
go/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. |
go/golang.org/x/tools/go/cfg
This package constructs a simple control-flow graph (CFG) of the statements and expressions within a single function.
|
This package constructs a simple control-flow graph (CFG) of the statements and expressions within a single function. |
go/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. |
go/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. |
go/hash
Package hash provides interfaces for hash functions.
|
Package hash provides interfaces for hash functions. |
go/hash/adler32
Package adler32 implements the Adler-32 checksum.
|
Package adler32 implements the Adler-32 checksum. |
go/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. |
go/hash/crc64
Package crc64 implements the 64-bit cyclic redundancy check, or CRC-64, checksum.
|
Package crc64 implements the 64-bit cyclic redundancy check, or CRC-64, checksum. |
go/hash/fnv
Package fnv implements FNV-1 and FNV-1a, non-cryptographic hash functions created by Glenn Fowler, Landon Curt Noll, and Phong Vo.
|
Package fnv implements FNV-1 and FNV-1a, non-cryptographic hash functions created by Glenn Fowler, Landon Curt Noll, and Phong Vo. |
go/html
Package html provides functions for escaping and unescaping HTML text.
|
Package html provides functions for escaping and unescaping HTML text. |
go/html/template
Package template (html/template) implements data-driven templates for generating HTML output safe against code injection.
|
Package template (html/template) implements data-driven templates for generating HTML output safe against code injection. |
go/image
Package image implements a basic 2-D image library.
|
Package image implements a basic 2-D image library. |
go/image/color
Package color implements a basic color library.
|
Package color implements a basic color library. |
go/image/color/palette
Package palette provides standard color palettes.
|
Package palette provides standard color palettes. |
go/image/draw
Package draw provides image composition functions.
|
Package draw provides image composition functions. |
go/image/gif
Package gif implements a GIF image decoder and encoder.
|
Package gif implements a GIF image decoder and encoder. |
go/image/internal/imageutil
Package imageutil contains code shared by image-related packages.
|
Package imageutil contains code shared by image-related packages. |
go/image/jpeg
Package jpeg implements a JPEG image decoder and encoder.
|
Package jpeg implements a JPEG image decoder and encoder. |
go/image/png
Package png implements a PNG image decoder and encoder.
|
Package png implements a PNG image decoder and encoder. |
go/index/suffixarray
Package suffixarray implements substring search in logarithmic time using an in-memory suffix array.
|
Package suffixarray implements substring search in logarithmic time using an in-memory suffix array. |
go/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. |
go/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. |
go/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. |
go/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. |
go/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. |
go/internal/singleflight
Package singleflight provides a duplicate function call suppression mechanism.
|
Package singleflight provides a duplicate function call suppression mechanism. |
go/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. |
go/internal/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. |
go/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. |
go/internal/x/crypto/chacha20poly1305
Package chacha20poly1305 implements the ChaCha20-Poly1305 AEAD as specified in RFC 7539.
|
Package chacha20poly1305 implements the ChaCha20-Poly1305 AEAD as specified in RFC 7539. |
go/internal/x/crypto/cryptobyte
Package cryptobyte contains types that help with parsing and constructing length-prefixed, binary messages, including ASN.1 DER.
|
Package cryptobyte contains types that help with parsing and constructing length-prefixed, binary messages, including ASN.1 DER. |
go/internal/x/crypto/cryptobyte/asn1
Package asn1 contains supporting types for parsing and building ASN.1 messages with the cryptobyte package.
|
Package asn1 contains supporting types for parsing and building ASN.1 messages with the cryptobyte package. |
go/internal/x/crypto/curve25519
Package curve25519 provides an implementation of scalar multiplication on the elliptic curve known as curve25519.
|
Package curve25519 provides an implementation of scalar multiplication on the elliptic curve known as curve25519. |
go/internal/x/crypto/hkdf
Package hkdf implements the HMAC-based Extract-and-Expand Key Derivation Function (HKDF) as defined in RFC 5869.
|
Package hkdf implements the HMAC-based Extract-and-Expand Key Derivation Function (HKDF) as defined in RFC 5869. |
go/internal/x/crypto/internal/chacha20
Package ChaCha20 implements the core ChaCha20 function as specified in https://tools.ietf.org/html/rfc7539#section-2.3.
|
Package ChaCha20 implements the core ChaCha20 function as specified in https://tools.ietf.org/html/rfc7539#section-2.3. |
go/internal/x/crypto/poly1305
Package poly1305 implements Poly1305 one-time message authentication code as specified in https://cr.yp.to/mac/poly1305-20050329.pdf.
|
Package poly1305 implements Poly1305 one-time message authentication code as specified in https://cr.yp.to/mac/poly1305-20050329.pdf. |
go/internal/x/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. |
go/internal/x/net/http/httpguts
Package httpguts provides functions implementing various details of the HTTP specification.
|
Package httpguts provides functions implementing various details of the HTTP specification. |
go/internal/x/net/http/httpproxy
Package httpproxy provides support for HTTP proxy determination based on environment variables, as provided by net/http's ProxyFromEnvironment function.
|
Package httpproxy provides support for HTTP proxy determination based on environment variables, as provided by net/http's ProxyFromEnvironment function. |
go/internal/x/net/http2/hpack
Package hpack implements HPACK, a compression format for efficiently representing HTTP header fields in the context of HTTP/2.
|
Package hpack implements HPACK, a compression format for efficiently representing HTTP header fields in the context of HTTP/2. |
go/internal/x/net/idna
Package idna implements IDNA2008 using the compatibility processing defined by UTS (Unicode Technical Standard) #46, which defines a standard to deal with the transition from IDNA2003.
|
Package idna implements IDNA2008 using the compatibility processing defined by UTS (Unicode Technical Standard) #46, which defines a standard to deal with the transition from IDNA2003. |
go/internal/x/net/internal/nettest
Package nettest provides utilities for network testing.
|
Package nettest provides utilities for network testing. |
go/internal/x/net/nettest
Package nettest provides utilities for network testing.
|
Package nettest provides utilities for network testing. |
go/internal/x/net/route
Package route provides basic functions for the manipulation of packet routing facilities on BSD variants.
|
Package route provides basic functions for the manipulation of packet routing facilities on BSD variants. |
go/internal/x/text/secure
secure is a repository of text security related packages.
|
secure is a repository of text security related packages. |
go/internal/x/text/secure/bidirule
Package bidirule implements the Bidi Rule defined by RFC 5893.
|
Package bidirule implements the Bidi Rule defined by RFC 5893. |
go/internal/x/text/transform
Package transform provides reader and writer wrappers that transform the bytes passing through as well as various transformations.
|
Package transform provides reader and writer wrappers that transform the bytes passing through as well as various transformations. |
go/internal/x/text/unicode
unicode holds packages with implementations of Unicode standards that are mostly used as building blocks for other packages in internal/x/text, layout engines, or are otherwise more low-level in nature.
|
unicode holds packages with implementations of Unicode standards that are mostly used as building blocks for other packages in internal/x/text, layout engines, or are otherwise more low-level in nature. |
go/internal/x/text/unicode/bidi
Package bidi contains functionality for bidirectional text support.
|
Package bidi contains functionality for bidirectional text support. |
go/internal/x/text/unicode/norm
Package norm contains types and functions for normalizing Unicode strings.
|
Package norm contains types and functions for normalizing Unicode strings. |
go/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. |
go/io
Package io provides basic interfaces to I/O primitives.
|
Package io provides basic interfaces to I/O primitives. |
go/io/ioutil
Package ioutil implements some I/O utility functions.
|
Package ioutil implements some I/O utility functions. |
go/log
Package log implements a simple logging package.
|
Package log implements a simple logging package. |
go/log/syslog
Package syslog provides a simple interface to the system log service.
|
Package syslog provides a simple interface to the system log service. |
go/math
Package math provides basic constants and mathematical functions.
|
Package math provides basic constants and mathematical functions. |
go/math/big
Package big implements arbitrary-precision arithmetic (big numbers).
|
Package big implements arbitrary-precision arithmetic (big numbers). |
go/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. |
go/math/cmplx
Package cmplx provides basic constants and mathematical functions for complex numbers.
|
Package cmplx provides basic constants and mathematical functions for complex numbers. |
go/math/rand
Package rand implements pseudo-random number generators.
|
Package rand implements pseudo-random number generators. |
go/mime
Package mime implements parts of the MIME spec.
|
Package mime implements parts of the MIME spec. |
go/mime/multipart
Package multipart implements MIME multipart parsing, as defined in RFC 2046.
|
Package multipart implements MIME multipart parsing, as defined in RFC 2046. |
go/mime/quotedprintable
Package quotedprintable implements quoted-printable encoding as specified by RFC 2045.
|
Package quotedprintable implements quoted-printable encoding as specified by RFC 2045. |
go/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. |
go/net/http
Package http provides HTTP client and server implementations.
|
Package http provides HTTP client and server implementations. |
go/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. |
go/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. |
go/net/http/fcgi
Package fcgi implements the FastCGI protocol.
|
Package fcgi implements the FastCGI protocol. |
go/net/http/httptest
Package httptest provides utilities for HTTP testing.
|
Package httptest provides utilities for HTTP testing. |
go/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. |
go/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. |
go/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. |
go/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. |
go/net/internal/socktest
Package socktest provides utilities for socket testing.
|
Package socktest provides utilities for socket testing. |
go/net/mail
Package mail implements parsing of mail messages.
|
Package mail implements parsing of mail messages. |
go/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. |
go/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. |
go/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. |
go/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. |
go/net/url
Package url parses URLs and implements query escaping.
|
Package url parses URLs and implements query escaping. |
go/os
Package os provides a platform-independent interface to operating system functionality.
|
Package os provides a platform-independent interface to operating system functionality. |
go/os/exec
Package exec runs external commands.
|
Package exec runs external commands. |
go/os/signal
Package signal implements access to incoming signals.
|
Package signal implements access to incoming signals. |
go/os/signal/internal/pty
Package pty is a simple pseudo-terminal package for Unix systems, implemented by calling C functions via cgo.
|
Package pty is a simple pseudo-terminal package for Unix systems, implemented by calling C functions via cgo. |
go/os/user
Package user allows user account lookups by name or id.
|
Package user allows user account lookups by name or id. |
go/path
Package path implements utility routines for manipulating slash-separated paths.
|
Package path implements utility routines for manipulating slash-separated paths. |
go/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. |
go/plugin
Package plugin implements loading and symbol resolution of Go plugins.
|
Package plugin implements loading and symbol resolution of Go plugins. |
go/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. |
go/regexp
Package regexp implements regular expression search.
|
Package regexp implements regular expression search. |
go/regexp/syntax
Package syntax parses regular expressions into parse trees and compiles parse trees into programs.
|
Package syntax parses regular expressions into parse trees and compiles parse trees into programs. |
go/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. |
go/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. |
go/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. |
go/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. |
go/runtime/pprof/internal/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. |
go/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. |
go/sort
Package sort provides primitives for sorting slices and user-defined collections.
|
Package sort provides primitives for sorting slices and user-defined collections. |
go/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. |
go/strings
Package strings implements simple functions to manipulate UTF-8 encoded strings.
|
Package strings implements simple functions to manipulate UTF-8 encoded strings. |
go/sync
Package sync provides basic synchronization primitives such as mutual exclusion locks.
|
Package sync provides basic synchronization primitives such as mutual exclusion locks. |
go/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. |
go/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. |
go/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. |
go/testing
Package testing provides support for automated testing of Go packages.
|
Package testing provides support for automated testing of Go packages. |
go/testing/internal/testdeps
Package testdeps provides access to dependencies needed by test execution.
|
Package testdeps provides access to dependencies needed by test execution. |
go/testing/iotest
Package iotest implements Readers and Writers useful mainly for testing.
|
Package iotest implements Readers and Writers useful mainly for testing. |
go/testing/quick
Package quick implements utility functions to help with black box testing.
|
Package quick implements utility functions to help with black box testing. |
go/text/scanner
Package scanner provides a scanner and tokenizer for UTF-8-encoded text.
|
Package scanner provides a scanner and tokenizer for UTF-8-encoded text. |
go/text/tabwriter
Package tabwriter implements a write filter (tabwriter.Writer) that translates tabbed columns in input into properly aligned text.
|
Package tabwriter implements a write filter (tabwriter.Writer) that translates tabbed columns in input into properly aligned text. |
go/text/template
Package template implements data-driven templates for generating textual output.
|
Package template implements data-driven templates for generating textual output. |
go/text/template/parse
Package parse builds parse trees for templates as defined by text/template and html/template.
|
Package parse builds parse trees for templates as defined by text/template and html/template. |
go/time
Package time provides functionality for measuring and displaying time.
|
Package time provides functionality for measuring and displaying time. |
go/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. |
go/unicode/utf16
Package utf16 implements encoding and decoding of UTF-16 sequences.
|
Package utf16 implements encoding and decoding of UTF-16 sequences. |
go/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. |
misc/cgo/gmp
An example of wrapping a C library in Go.
|
An example of wrapping a C library in Go. |
misc/cgo/test
Test that the #cgo CFLAGS directive works, with and without platform filters.
|
Test that the #cgo CFLAGS directive works, with and without platform filters. |
misc/cgo/testplugin/src/issue18676
The bug happened like this: 1) The main binary adds an itab for *json.UnsupportedValueError / error (concrete type / interface type).
|
The bug happened like this: 1) The main binary adds an itab for *json.UnsupportedValueError / error (concrete type / interface type). |
misc/cgo/testshared/src/issue25065
Package issue25065 has a type with a method that is 1) referenced in a method expression 2) not called 3) not converted to an interface 4) is a value method but the reference is to the pointer method These cases avoid the call to makefuncsym from typecheckfunc, but we still need to call makefuncsym somehow or the symbol will not be defined.
|
Package issue25065 has a type with a method that is 1) referenced in a method expression 2) not called 3) not converted to an interface 4) is a value method but the reference is to the pointer method These cases avoid the call to makefuncsym from typecheckfunc, but we still need to call makefuncsym somehow or the symbol will not be defined. |
Click to show internal directories.
Click to hide internal directories.