Directories

archive/tar Package tar implements access to tar archives.
archive/zip 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.
bytes Package bytes implements functions for the manipulation of byte slices.
cmp Package cmp provides types and functions related to comparing ordered values.
compress/bzip2 Package bzip2 implements bzip2 decompression.
compress/flate Package flate implements the DEFLATE compressed data format, described in RFC 1951.
compress/gzip Package gzip implements reading and writing of gzip format compressed files, as specified in RFC 1952.
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.
compress/zlib Package zlib implements reading and writing of zlib format compressed data, as specified in RFC 1950.
container/heap Package heap provides heap operations for any type that implements heap.Interface.
container/list Package list implements a doubly linked list.
container/ring Package ring implements operations on circular lists.
context Package context defines the Context type, which carries deadlines, cancellation signals, and other request-scoped values across API boundaries and between processes.
crypto Package crypto collects common cryptographic constants.
database/sql Package sql provides a generic interface around SQL (or SQL-like) databases.
debug/buildinfo Package buildinfo provides access to information embedded in a Go binary about how it was built.
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.
debug/elf Package elf implements access to ELF object files.
debug/gosym Package gosym implements access to the Go symbol and line number tables embedded in Go binaries generated by the gc compilers.
debug/macho Package macho implements access to Mach-O object files.
debug/pe Package pe implements access to PE (Microsoft Windows Portable Executable) files.
debug/plan9obj Package plan9obj implements access to Plan 9 a.out object files.
embed 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.
errors Package errors implements functions to manipulate errors.
expvar Package expvar provides a standardized interface to public variables, such as operation counters in servers.
flag Package flag implements command-line flag parsing.
fmt Package fmt implements formatted I/O with functions analogous to C's printf and scanf.
go/ast Package ast declares the types used to represent syntax trees for Go packages.
go/build Package build gathers information about Go packages.
go/constant Package constant implements Values representing untyped Go constants and their corresponding operations.
go/doc Package doc extracts source code documentation from a Go AST.
go/format Package format implements standard formatting of Go source.
go/importer Package importer provides access to export data importers.
go/parser Package parser implements a parser for Go source files.
go/printer Package printer implements printing of AST nodes.
go/scanner Package scanner implements a scanner for Go source text.
go/token Package token defines constants representing the lexical tokens of the Go programming language and basic operations on tokens (printing, predicates).
go/types Package types declares the data types and implements the algorithms for type-checking of Go packages.
go/version Package version provides operations on [Go versions] in [Go toolchain name syntax]: strings like "go1.20", "go1.21.0", "go1.22rc2", and "go1.23.4-bigcorp".
hash Package hash provides interfaces for hash functions.
html Package html provides functions for escaping and unescaping HTML text.
image Package image implements a basic 2-D image library.
index/suffixarray Package suffixarray implements substring search in logarithmic time using an in-memory suffix array.
io Package io provides basic interfaces to I/O primitives.
log Package log implements a simple logging package.
maps Package maps defines various functions useful with maps of any type.
math Package math provides basic constants and mathematical functions.
mime Package mime implements parts of the MIME spec.
net Package net provides a portable interface for network I/O, including TCP/IP, UDP, domain name resolution, and Unix domain sockets.
os Package os provides a platform-independent interface to operating system functionality.
path Package path implements utility routines for manipulating slash-separated paths.
plugin Package plugin implements loading and symbol resolution of Go plugins.
reflect Package reflect implements run-time reflection, allowing a program to manipulate objects with arbitrary types.
regexp Package regexp implements regular expression search.
runtime Package runtime contains operations that interact with Go's runtime system, such as functions to control goroutines.
slices Package slices defines various functions useful with slices of any type.
sort 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.
strings Package strings implements simple functions to manipulate UTF-8 encoded strings.
sync Package sync provides basic synchronization primitives such as mutual exclusion locks.
syscall Package syscall contains an interface to the low-level operating system primitives.
testing Package testing provides support for automated testing of Go packages.
text/scanner Package scanner provides a scanner and tokenizer for UTF-8-encoded text.
text/tabwriter Package tabwriter implements a write filter (tabwriter.Writer) that translates tabbed columns in input into properly aligned text.
text/template Package template implements data-driven templates for generating textual output.
time Package time provides functionality for measuring and displaying time.
unicode Package unicode provides data and functions to test some properties of Unicode code points.
unsafe Package unsafe contains operations that step around the type safety of Go programs.