Path | Synopsis |
---|---|
src/bufio | Package bufio implements buffered I/O. |
src/builtin | Package builtin provides documentation for Go's predeclared identifiers. |
src/bytes | Package bytes implements functions for the manipulation of byte slices. |
src/cmd/addr2line | Addr2line is a minimal simulation of the GNU addr2line tool, just enough to support pprof. |
src/cmd/api | Binary api computes the exported API of a set of Go packages. |
src/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. |
src/cmd/asm/internal/arch | Package arch defines architecture-specific information and support functions. |
src/cmd/asm/internal/asm | Package asm implements the parser and instruction generator for the assembler. |
src/cmd/asm/internal/flags | Package flags implements top-level flags and the usage message for the assembler. |
src/cmd/asm/internal/lex | Package lex implements lexical analysis for the assembler. |
src/cmd/buildid | Buildid displays or updates the build ID stored in a Go package or binary. |
src/cmd/cgo | Cgo enables the creation of Go packages that call C code. |
src/cmd/compile | Compile, typically invoked as ``go tool compile,'' compiles a single Go package comprising the files named on the command line. |
src/cmd/compile/internal/amd64 | |
src/cmd/compile/internal/arm | |
src/cmd/compile/internal/arm64 | |
src/cmd/compile/internal/gc | |
src/cmd/compile/internal/logopt | |
src/cmd/compile/internal/mips | |
src/cmd/compile/internal/mips64 | |
src/cmd/compile/internal/ppc64 | |
src/cmd/compile/internal/riscv64 | |
src/cmd/compile/internal/s390x | |
src/cmd/compile/internal/ssa | |
src/cmd/compile/internal/syntax | |
src/cmd/compile/internal/test | |
src/cmd/compile/internal/types | |
src/cmd/compile/internal/wasm | |
src/cmd/compile/internal/x86 | |
src/cmd/cover | Cover is a program for analyzing the coverage profiles generated by 'go test -coverprofile=cover.out'. |
src/cmd/dist | Dist helps bootstrap, build, and test the Go distribution. |
src/cmd/doc | Doc (usually run as go doc) accepts zero, one or two arguments. |
src/cmd/fix | Fix finds Go programs that use old APIs and rewrites them to use newer ones. |
src/cmd/go | Go is a tool for managing Go source code. |
src/cmd/gofmt | Gofmt formats Go programs. |
src/cmd/go/internal/auth | Package auth provides access to user-provided authentication credentials. |
src/cmd/go/internal/base | Package base defines shared basic pieces of the go command, in particular logging and the Command structure. |
src/cmd/go/internal/bug | Package bug implements the ``go bug'' command. |
src/cmd/go/internal/cache | Package cache implements a build artifact cache. |
src/cmd/go/internal/cfg | Package cfg holds configuration shared by multiple parts of the go command. |
src/cmd/go/internal/clean | Package clean implements the ``go clean'' command. |
src/cmd/go/internal/cmdflag | Package cmdflag handles flag processing common to several go tools. |
src/cmd/go/internal/doc | Package doc implements the ``go doc'' command. |
src/cmd/go/internal/envcmd | Package envcmd implements the ``go env'' command. |
src/cmd/go/internal/fix | Package fix implements the ``go fix'' command. |
src/cmd/go/internal/fmtcmd | Package fmtcmd implements the ``go fmt'' command. |
src/cmd/go/internal/fsys | Package fsys is an abstraction for reading files that allows for virtual overlays on top of the files on disk. |
src/cmd/go/internal/generate | Package generate implements the ``go generate'' command. |
src/cmd/go/internal/get | Package get implements the ``go get'' command. |
src/cmd/go/internal/help | Package help implements the ``go help'' command. |
src/cmd/go/internal/imports | |
src/cmd/go/internal/list | Package list implements the ``go list'' command. |
src/cmd/go/internal/load | Package load loads packages. |
src/cmd/go/internal/lockedfile | Package lockedfile creates and manipulates files whose contents should only change atomically. |
src/cmd/go/internal/lockedfile/internal/filelock | Package filelock provides a platform-independent API for advisory file locking. |
src/cmd/go/internal/modcmd | Package modcmd implements the ``go mod'' command. |
src/cmd/go/internal/modconv | |
src/cmd/go/internal/modfetch | |
src/cmd/go/internal/modfetch/codehost | Package codehost defines the interface implemented by a code hosting source, along with support code for use by implementations. |
src/cmd/go/internal/modget | Package modget implements the module-aware ``go get'' command. |
src/cmd/go/internal/modinfo | |
src/cmd/go/internal/modload | |
src/cmd/go/internal/mvs | Package mvs implements Minimal Version Selection. |
src/cmd/go/internal/par | Package par implements parallel execution helpers. |
src/cmd/go/internal/renameio | Package renameio writes files atomically by renaming temporary files. |
src/cmd/go/internal/robustio | Package robustio wraps I/O functions that are prone to failure on Windows, transparently retrying errors up to an arbitrary timeout. |
src/cmd/go/internal/run | Package run implements the ``go run'' command. |
src/cmd/go/internal/search | |
src/cmd/go/internal/str | Package str provides string manipulation utilities. |
src/cmd/go/internal/test | |
src/cmd/go/internal/tool | Package tool implements the ``go tool'' command. |
src/cmd/go/internal/trace | |
src/cmd/go/internal/txtar | Package txtar implements a trivial text-based file archive format. |
src/cmd/go/internal/vcs | |
src/cmd/go/internal/version | Package version implements the ``go version'' command. |
src/cmd/go/internal/vet | Package vet implements the ``go vet'' command. |
src/cmd/go/internal/web | Package web defines minimal helper routines for accessing HTTP/HTTPS resources without requiring external dependencies on the net package. |
src/cmd/go/internal/work | |
src/cmd/internal/archive | Package archive implements reading of archive files generated by the Go toolchain. |
src/cmd/internal/bio | Package bio implements common I/O abstractions used within the Go toolchain. |
src/cmd/internal/browser | Package browser provides utilities for interacting with users' browsers. |
src/cmd/internal/buildid | |
src/cmd/internal/codesign | Package codesign provides basic functionalities for ad-hoc code signing of Mach-O files. |
src/cmd/internal/diff | Package diff implements a Diff function that compare two inputs using the 'diff' tool. |
src/cmd/internal/dwarf | Package dwarf generates DWARF debugging information. |
src/cmd/internal/edit | Package edit implements buffered position-based editing of byte slices. |
src/cmd/internal/gcprog | Package gcprog implements an encoder for packed GC pointer bitmaps, known as GC programs. |
src/cmd/internal/goobj | |
src/cmd/internal/obj | |
src/cmd/internal/objabi | |
src/cmd/internal/obj/arm | |
src/cmd/internal/obj/arm64 | Package arm64 implements an ARM64 assembler. |
src/cmd/internal/objfile | Package objfile implements portable access to OS-specific executable files. |
src/cmd/internal/obj/mips | |
src/cmd/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. |
src/cmd/internal/obj/riscv | |
src/cmd/internal/obj/s390x | |
src/cmd/internal/obj/wasm | |
src/cmd/internal/obj/x86 | |
src/cmd/internal/pkgpath | Package pkgpath determines the package path used by gccgo/GoLLVM symbols. |
src/cmd/internal/src | |
src/cmd/internal/sys | |
src/cmd/internal/test2json | Package test2json implements conversion of test binary output to JSON. |
src/cmd/internal/traceviewer | Package traceviewer provides definitions of the JSON data structures used by the Chrome trace viewer. |
src/cmd/link | Link, typically invoked as ``go tool link'', reads the Go archive or object for a package main, along with its dependencies, and combines them into an executable binary. |
src/cmd/link/internal/amd64 | |
src/cmd/link/internal/arm | |
src/cmd/link/internal/arm64 | |
src/cmd/link/internal/benchmark | Package benchmark provides a Metrics object that enables memory and CPU profiling for the linker. |
src/cmd/link/internal/ld | |
src/cmd/link/internal/loadelf | Package loadelf implements an ELF file reader. |
src/cmd/link/internal/loader | |
src/cmd/link/internal/loadmacho | Package loadmacho implements a Mach-O file reader. |
src/cmd/link/internal/loadpe | Package loadpe implements a PE/COFF file reader. |
src/cmd/link/internal/loadxcoff | Package loadxcoff implements a XCOFF file reader. |
src/cmd/link/internal/mips | |
src/cmd/link/internal/mips64 | |
src/cmd/link/internal/ppc64 | |
src/cmd/link/internal/riscv64 | |
src/cmd/link/internal/s390x | |
src/cmd/link/internal/sym | |
src/cmd/link/internal/wasm | |
src/cmd/link/internal/x86 | |
src/cmd/nm | Nm lists the symbols defined or used by an object file, archive, or executable. |
src/cmd/objdump | Objdump disassembles executable files. |
src/cmd/pack | Pack is a simple version of the traditional Unix ar tool. |
src/cmd/pprof | Pprof interprets and displays profiles of Go programs. |
src/cmd/test2json | Test2json converts go test output to a machine-readable JSON stream. |
src/cmd/trace | Trace is a tool for viewing trace files. |
src/cmd/vet | Vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string. |
src/context | Package context defines the Context type, which carries deadlines, cancellation signals, and other request-scoped values across API boundaries and between processes. |
src/crypto | Package crypto collects common cryptographic constants. |
src/crypto/aes | Package aes implements AES encryption (formerly Rijndael), as defined in U.S. |
src/crypto/cipher | Package cipher implements standard block cipher modes that can be wrapped around low-level block cipher implementations. |
src/crypto/des | Package des implements the Data Encryption Standard (DES) and the Triple Data Encryption Algorithm (TDEA) as defined in U.S. |
src/crypto/dsa | Package dsa implements the Digital Signature Algorithm, as defined in FIPS 186-3. |
src/crypto/ecdsa | Package ecdsa implements the Elliptic Curve Digital Signature Algorithm, as defined in FIPS 186-3. |
src/crypto/ed25519 | Package ed25519 implements the Ed25519 signature algorithm. |
src/crypto/elliptic | Package elliptic implements several standard elliptic curves over prime fields. |
src/crypto/hmac | Package hmac implements the Keyed-Hash Message Authentication Code (HMAC) as defined in U.S. |
src/crypto/md5 | Package md5 implements the MD5 hash algorithm as defined in RFC 1321. |
src/crypto/rand | Package rand implements a cryptographically secure random number generator. |
src/crypto/rc4 | Package rc4 implements RC4 encryption, as defined in Bruce Schneier's Applied Cryptography. |
src/crypto/rsa | Package rsa implements RSA encryption as specified in PKCS #1 and RFC 8017. |
src/crypto/sha1 | Package sha1 implements the SHA-1 hash algorithm as defined in RFC 3174. |
src/crypto/sha256 | Package sha256 implements the SHA224 and SHA256 hash algorithms as defined in FIPS 180-4. |
src/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. |
src/crypto/subtle | Package subtle implements functions that are often useful in cryptographic code but require careful thought to use correctly. |
src/crypto/tls | Package tls partially implements TLS 1.2, as specified in RFC 5246, and TLS 1.3, as specified in RFC 8446. |
src/crypto/x509 | Package x509 parses X.509-encoded keys and certificates. |
src/crypto/x509/pkix | Package pkix contains shared, low level structures used for ASN.1 parsing and serialization of X.509 certificates, CRL and OCSP. |
src/database/sql | Package sql provides a generic interface around SQL (or SQL-like) databases. |
src/database/sql/driver | Package driver defines interfaces to be implemented by database drivers as used by package sql. |
src/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 |
src/debug/elf | Package elf implements access to ELF object files. |
src/debug/gosym | Package gosym implements access to the Go symbol and line number tables embedded in Go binaries generated by the gc compilers. |
src/debug/macho | Package macho implements access to Mach-O object files. |
src/debug/pe | Package pe implements access to PE (Microsoft Windows Portable Executable) files. |
src/debug/plan9obj | Package plan9obj implements access to Plan 9 a.out object files. |
src/embed | Package embed provides access to files embedded in the running Go program. |
src/encoding | Package encoding defines interfaces shared by other packages that convert data to and from byte-level and textual representations. |
src/encoding/ascii85 | Package ascii85 implements the ascii85 data encoding as used in the btoa tool and Adobe's PostScript and PDF document formats. |
src/encoding/asn1 | Package asn1 implements parsing of DER-encoded ASN.1 data structures, as defined in ITU-T Rec X.690. |
src/encoding/base32 | Package base32 implements base32 encoding as specified by RFC 4648. |
src/encoding/base64 | Package base64 implements base64 encoding as specified by RFC 4648. |
src/encoding/binary | Package binary implements simple translation between numbers and byte sequences and encoding and decoding of varints. |
src/encoding/csv | Package csv reads and writes comma-separated values (CSV) files. |
src/encoding/gob | Package gob manages streams of gobs - binary values exchanged between an Encoder (transmitter) and a Decoder (receiver). |
src/encoding/hex | Package hex implements hexadecimal encoding and decoding. |
src/encoding/json | Package json implements encoding and decoding of JSON as defined in RFC 7159. |
src/encoding/pem | Package pem implements the PEM data encoding, which originated in Privacy Enhanced Mail. |
src/encoding/xml | Package xml implements a simple XML 1.0 parser that understands XML name spaces. |
src/errors | Package errors implements functions to manipulate errors. |
src/expvar | Package expvar provides a standardized interface to public variables, such as operation counters in servers. |
src/flag | Package flag implements command-line flag parsing. |
src/fmt | Package fmt implements formatted I/O with functions analogous to C's printf and scanf. |
src/go/ast | Package ast declares the types used to represent syntax trees for Go packages. |
src/go/build | Package build gathers information about Go packages. |
src/go/constant | Package constant implements Values representing untyped Go constants and their corresponding operations. |
src/go/doc | Package doc extracts source code documentation from a Go AST. |
src/go/format | Package format implements standard formatting of Go source. |
src/go/importer | Package importer provides access to export data importers. |
src/go/parser | Package parser implements a parser for Go source files. |
src/go/printer | Package printer implements printing of AST nodes. |
src/go/scanner | Package scanner implements a scanner for Go source text. |
src/go/token | Package token defines constants representing the lexical tokens of the Go programming language and basic operations on tokens (printing, predicates). |
src/go/types | Package types declares the data types and implements the algorithms for type-checking of Go packages. |
src/hash | Package hash provides interfaces for hash functions. |
src/hash/adler32 | Package adler32 implements the Adler-32 checksum. |
src/hash/crc32 | Package crc32 implements the 32-bit cyclic redundancy check, or CRC-32, checksum. |
src/hash/crc64 | Package crc64 implements the 64-bit cyclic redundancy check, or CRC-64, checksum. |
src/hash/fnv | Package fnv implements FNV-1 and FNV-1a, non-cryptographic hash functions created by Glenn Fowler, Landon Curt Noll, and Phong Vo. |
src/hash/maphash | Package maphash provides hash functions on byte sequences. |
src/html | Package html provides functions for escaping and unescaping HTML text. |
src/html/template | Package template (html/template) implements data-driven templates for generating HTML output safe against code injection. |
src/image | Package image implements a basic 2-D image library. |
src/image/color | Package color implements a basic color library. |
src/image/color/palette | Package palette provides standard color palettes. |
src/image/draw | Package draw provides image composition functions. |
src/image/gif | Package gif implements a GIF image decoder and encoder. |
src/image/jpeg | Package jpeg implements a JPEG image decoder and encoder. |
src/image/png | Package png implements a PNG image decoder and encoder. |
src/index/suffixarray | Package suffixarray implements substring search in logarithmic time using an in-memory suffix array. |
src/internal/bytealg | |
src/internal/cfg | Package cfg holds configuration shared by the Go command and internal/testenv. |
src/internal/cpu | Package cpu implements processor feature detection used by the Go standard library. |
src/internal/fmtsort | Package fmtsort provides a general stable ordering mechanism for maps, on behalf of the fmt and text/template packages. |
src/internal/goroot | |
src/internal/goversion | |
src/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. |
src/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. |
src/internal/nettrace | Package nettrace contains internal hooks for tracing activity in the net package. |
src/internal/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. |
src/internal/oserror | Package oserror defines errors values used in the os package. |
src/internal/poll | Package poll supports non-blocking I/O on file descriptors with polling. |
src/internal/profile | Package profile provides a representation of github.com/google/pprof/proto/profile.proto and methods to encode/decode/merge profiles in this format. |
src/internal/race | Package race contains helper functions for manually instrumenting code for the race detector. |
src/internal/reflectlite | Package reflectlite implements lightweight version of reflect, not using any package except for "runtime" and "unsafe". |
src/internal/singleflight | Package singleflight provides a duplicate function call suppression mechanism. |
src/internal/sysinfo | Package sysinfo implements high level hardware information gathering that can be used for debugging or information purposes. |
src/internal/testenv | Package testenv provides information about what functionality is available in different testing environments run by the Go team. |
src/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. |
src/internal/trace | |
src/internal/unsafeheader | Package unsafeheader contains header declarations for the Go runtime's slice and string implementations. |
src/internal/xcoff | Package xcoff implements access to XCOFF (Extended Common Object File Format) files. |
src/io | Package io provides basic interfaces to I/O primitives. |
src/io/fs | Package fs defines basic interfaces to a file system. |
src/io/ioutil | Package ioutil implements some I/O utility functions. |
src/log | Package log implements a simple logging package. |
src/log/syslog | Package syslog provides a simple interface to the system log service. |
src/math | Package math provides basic constants and mathematical functions. |
src/math/big | Package big implements arbitrary-precision arithmetic (big numbers). |
src/math/bits | Package bits implements bit counting and manipulation functions for the predeclared unsigned integer types. |
src/math/cmplx | Package cmplx provides basic constants and mathematical functions for complex numbers. |
src/math/rand | Package rand implements pseudo-random number generators. |
src/mime | Package mime implements parts of the MIME spec. |
src/mime/multipart | Package multipart implements MIME multipart parsing, as defined in RFC 2046. |
src/mime/quotedprintable | Package quotedprintable implements quoted-printable encoding as specified by RFC 2045. |
src/net | Package net provides a portable interface for network I/O, including TCP/IP, UDP, domain name resolution, and Unix domain sockets. |
src/net/http | Package http provides HTTP client and server implementations. |
src/net/http/cgi | Package cgi implements CGI (Common Gateway Interface) as specified in RFC 3875. |
src/net/http/cookiejar | Package cookiejar implements an in-memory RFC 6265-compliant http.CookieJar. |
src/net/http/fcgi | Package fcgi implements the FastCGI protocol. |
src/net/http/httptest | Package httptest provides utilities for HTTP testing. |
src/net/http/httptrace | Package httptrace provides mechanisms to trace the events within HTTP client requests. |
src/net/http/httputil | Package httputil provides HTTP utility functions, complementing the more common ones in the net/http package. |
src/net/http/internal | Package internal contains HTTP internals shared by net/http and net/http/httputil. |
src/net/http/pprof | Package pprof serves via its HTTP server runtime profiling data in the format expected by the pprof visualization tool. |
src/net/mail | Package mail implements parsing of mail messages. |
src/net/rpc | Package rpc provides access to the exported methods of an object across a network or other I/O connection. |
src/net/rpc/jsonrpc | Package jsonrpc implements a JSON-RPC 1.0 ClientCodec and ServerCodec for the rpc package. |
src/net/smtp | Package smtp implements the Simple Mail Transfer Protocol as defined in RFC 5321. |
src/net/textproto | Package textproto implements generic support for text-based request/response protocols in the style of HTTP, NNTP, and SMTP. |
src/net/url | Package url parses URLs and implements query escaping. |
src/os | Package os provides a platform-independent interface to operating system functionality. |
src/os/exec | Package exec runs external commands. |
src/os/signal | Package signal implements access to incoming signals. |
src/os/signal/internal/pty | Package pty is a simple pseudo-terminal package for Unix systems, implemented by calling C functions via cgo. |
src/os/user | Package user allows user account lookups by name or id. |
src/path | Package path implements utility routines for manipulating slash-separated paths. |
src/path/filepath | Package filepath implements utility routines for manipulating filename paths in a way compatible with the target operating system-defined file paths. |
src/plugin | Package plugin implements loading and symbol resolution of Go plugins. |
src/reflect | Package reflect implements run-time reflection, allowing a program to manipulate objects with arbitrary types. |
src/regexp | Package regexp implements regular expression search. |
src/regexp/syntax | Package syntax parses regular expressions into parse trees and compiles parse trees into programs. |
src/runtime | Package runtime contains operations that interact with Go's runtime system, such as functions to control goroutines. |
src/runtime/cgo | Package cgo contains runtime support for code generated by the cgo tool. |
src/runtime/debug | Package debug contains facilities for programs to debug themselves while they are running. |
src/runtime/pprof | Package pprof writes runtime profiling data in the format expected by the pprof visualization tool. |
src/runtime/race | Package race implements data race detection logic. |
src/runtime/trace | Package trace contains facilities for programs to generate traces for the Go execution tracer. |
src/sort | Package sort provides primitives for sorting slices and user-defined collections. |
src/strconv | Package strconv implements conversions to and from string representations of basic data types. |
src/strings | Package strings implements simple functions to manipulate UTF-8 encoded strings. |
src/sync | Package sync provides basic synchronization primitives such as mutual exclusion locks. |
src/sync/atomic | Package atomic provides low-level atomic memory primitives useful for implementing synchronization algorithms. |
src/syscall | Package syscall contains an interface to the low-level operating system primitives. |
src/syscall/js | Package js gives access to the WebAssembly host environment when using the js/wasm architecture. |
src/testing | Package testing provides support for automated testing of Go packages. |
src/testing/fstest | Package fstest implements support for testing implementations and users of file systems. |
src/testing/internal/testdeps | Package testdeps provides access to dependencies needed by test execution. |
src/testing/iotest | Package iotest implements Readers and Writers useful mainly for testing. |
src/testing/quick | Package quick implements utility functions to help with black box testing. |
src/text/scanner | Package scanner provides a scanner and tokenizer for UTF-8-encoded text. |
src/text/tabwriter | Package tabwriter implements a write filter (tabwriter.Writer) that translates tabbed columns in input into properly aligned text. |
src/text/template | Package template implements data-driven templates for generating textual output. |
src/text/template/parse | Package parse builds parse trees for templates as defined by text/template and html/template. |
src/time | Package time provides functionality for measuring and displaying time. |
src/time/tzdata | Package tzdata provides an embedded copy of the timezone database. |
src/unicode | Package unicode provides data and functions to test some properties of Unicode code points. |
src/unicode/utf16 | Package utf16 implements encoding and decoding of UTF-16 sequences. |
src/unicode/utf8 | Package utf8 implements functions and constants to support text encoded in UTF-8. |
src/unsafe | Package unsafe contains operations that step around the type safety of Go programs. |
Updated 2021-01-24. Refresh now. Tools for package owners.