The Go Programming Language

Directory src/pkg

Last update: Sat Feb 4 05:05:15 UTC 2012

Need more packages? The Package Dashboard provides a list of goinstallable packages.

Subdirectories

Name   Synopsis
..
archive
tar Package tar implements access to tar archives.
zip Package zip provides support for reading and writing ZIP archives.
asn1 Package asn1 implements parsing of DER-encoded ASN.1 data structures, as defined in ITU-T Rec X.690.
big Package big implements multi-precision arithmetic (big numbers).
bufio Package bufio implements buffered I/O.
builtin Package builtin provides documentation for Go's built-in functions.
bytes Package bytes implements functions for the manipulation of byte slices.
cmath Package cmath provides basic constants and mathematical functions for complex numbers.
compress
bzip2 Package bzip2 implements bzip2 decompression.
flate Package flate implements the DEFLATE compressed data format, described in RFC 1951.
gzip Package gzip implements reading and writing of gzip format compressed files, as specified in RFC 1952.
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.
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.
list Package list implements a doubly linked list.
ring Package ring implements operations on circular lists.
vector Package vector implements containers for managing sequences of elements.
crypto Package crypto collects common cryptographic constants.
aes Package aes implements AES encryption (formerly Rijndael), as defined in U.S. Federal Information Processing Standards Publication 197.
blowfish Package blowfish implements Bruce Schneier's Blowfish encryption algorithm.
cast5 Package cast5 implements CAST5, as defined in RFC 2144.
cipher Package cipher implements standard block cipher modes that can be wrapped around low-level block cipher implementations.
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.
dsa Package dsa implements the Digital Signature Algorithm, as defined in FIPS 186-3
ecdsa Package ecdsa implements the Elliptic Curve Digital Signature Algorithm, as defined in FIPS 186-3.
elliptic Package elliptic implements several standard elliptic curves over prime fields.
hmac Package hmac implements the Keyed-Hash Message Authentication Code (HMAC) as defined in U.S. Federal Information Processing Standards Publication 198.
md4 Package md4 implements the MD4 hash algorithm as defined in RFC 1320.
md5 Package md5 implements the MD5 hash algorithm as defined in RFC 1321.
ocsp Package ocsp parses OCSP responses as specified in RFC 2560.
openpgp Package openpgp implements high level operations on OpenPGP messages.
armor Package armor implements OpenPGP ASCII Armor, see RFC 4880.
elgamal Package elgamal implements ElGamal encryption, suitable for OpenPGP, as specified in "A Public-Key Cryptosystem and a Signature Scheme Based on Discrete Logarithms," IEEE Transactions on Information Theory, v.
error Package error contains common error types for the OpenPGP packages.
packet Package packet implements parsing and serialization of OpenPGP packets, as specified in RFC 4880.
s2k Package s2k implements the various OpenPGP string-to-key transforms as specified in RFC 4800 section 3.7.1.
rand Package rand implements a cryptographically secure pseudorandom number generator.
rc4 Package rc4 implements RC4 encryption, as defined in Bruce Schneier's Applied Cryptography.
ripemd160 Package ripemd160 implements the RIPEMD-160 hash algorithm.
rsa Package rsa implements RSA encryption as specified in PKCS#1.
sha1 Package sha1 implements the SHA1 hash algorithm as defined in RFC 3174.
sha256 Package sha256 implements the SHA224 and SHA256 hash algorithms as defined in FIPS 180-2.
sha512 Package sha512 implements the SHA384 and SHA512 hash algorithms as defined in FIPS 180-2.
subtle Package subtle implements functions that are often useful in cryptographic code but require careful thought to use correctly.
tls Package tls partially implements the TLS 1.1 protocol, as specified in RFC 4346.
twofish Package twofish implements Bruce Schneier's Twofish encryption algorithm.
x509 Package x509 parses X.509-encoded keys and certificates.
pkix Package pkix contains shared, low level structures used for ASN.1 parsing and serialization of X.509 certificates, CRL and OCSP.
xtea Package xtea implements XTEA encryption, as defined in Needham and Wheeler's 1997 technical report, "Tea extensions.
csv Package csv reads and writes comma-separated values (CSV) files.
debug
dwarf Package dwarf provides access to DWARF debugging information loaded from executable files, as defined in the DWARF 2.
elf Package elf implements access to ELF object files.
gosym Package gosym implements access to the Go symbol and line number tables embedded in Go binaries generated by the gc compilers.
macho Package macho implements access to Mach-O object files, as defined by http://developer.apple.com/mac/library/documentation/DeveloperTools/Conceptual/MachORuntime/Reference/reference.html.
pe Package pe implements access to PE (Microsoft Windows Portable Executable) files.
ebnf Package ebnf is a library for EBNF grammars.
encoding
ascii85 Package ascii85 implements the ascii85 data encoding as used in the btoa tool and Adobe's PostScript and PDF document formats.
base32 Package base32 implements base32 encoding as specified by RFC 4648.
base64 Package base64 implements base64 encoding as specified by RFC 4648.
binary Package binary implements translation between unsigned integer values and byte sequences and the reading and writing of fixed-size values.
git85 Package git85 implements the radix 85 data encoding used in the Git version control system.
hex Package hex implements hexadecimal encoding and decoding.
pem Package pem implements the PEM data encoding, which originated in Privacy Enhanced Mail.
exec Package exec runs external commands.
exp
gui Package gui defines a basic graphical user interface programming model.
x11 Package x11 implements an X11 backend for the exp/gui package.
norm Package norm contains types and functions for normalizing Unicode strings.
regexp Package regexp implements a simple regular expression library.
syntax Package syntax parses regular expressions into syntax trees.
template
html Package html is a specialization of exp/template that automates the construction of safe HTML output.
wingui
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.
build Package build provides tools for building Go packages.
cgotest
cmdtest
pkgtest
doc Package doc extracts source code documentation from a Go AST.
parser Package parser implements a parser for Go source files.
printer Package printer implements printing of AST nodes.
testdata Package parser implements a parser for Go source files.
scanner Package scanner implements a scanner for Go source text.
token Package token defines constants representing the lexical tokens of the Go programming language and basic operations on tokens (printing, predicates).
typechecker DEPRECATED PACKAGE - SEE go/types INSTEAD. This package implements typechecking of a Go AST. The result of the typecheck is an augmented AST with object and type information for each identifier.
types PACKAGE UNDER CONSTRUCTION. ANY AND ALL PARTS MAY CHANGE. Package types declares the types used to represent Go types.
testdata
gob Package gob manages streams of gobs - binary values exchanged between an Encoder (transmitter) and a Decoder (receiver).
hash Package hash provides interfaces for hash functions.
adler32 Package adler32 implements the Adler-32 checksum.
crc32 Package crc32 implements the 32-bit cyclic redundancy check, or CRC-32, checksum.
crc64 Package crc64 implements the 64-bit cyclic redundancy check, or CRC-64, checksum.
fnv Package fnv implements FNV-1 and FNV-1a, non-cryptographic hash functions created by Glenn Fowler, Landon Curt Noll, and Phong Vo.
html Package html implements an HTML5-compliant tokenizer and parser.
http Package http implements parsing of HTTP requests, replies, and URLs and provides an extensible HTTP server and a basic HTTP client.
cgi Package cgi implements CGI (Common Gateway Interface) as specified in RFC 3875.
fcgi Package fcgi implements the FastCGI protocol.
httptest Package httptest provides utilities for HTTP testing.
pprof Package pprof serves via its HTTP server runtime profiling data in the format expected by the pprof visualization tool.
spdy
image Package image implements a basic 2-D image library.
bmp Package bmp implements a BMP image decoder.
draw Package draw provides image composition functions.
gif Package gif implements a GIF image decoder.
jpeg Package jpeg implements a JPEG image decoder and encoder.
png Package png implements a PNG image decoder and encoder.
tiff Package tiff implements a TIFF image decoder.
ycbcr Package ycbcr provides images from the Y'CbCr color model.
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.
ioutil Package ioutil implements some I/O utility functions.
json Package json implements encoding and decoding of JSON objects as defined in RFC 4627.
log Package log implements a simple logging package.
mail Package mail implements parsing of mail messages.
math Package math provides basic constants and mathematical functions.
mime Package mime implements parts of the MIME spec.
multipart Package multipart implements MIME multipart parsing, as defined in RFC 2046.
net Package net provides a portable interface to Unix networks sockets, including TCP/IP, UDP, domain name resolution, and Unix domain sockets.
dict Package dict implements the Dictionary Server Protocol as defined in RFC 2229.
textproto Package textproto implements generic support for text-based request/response protocols in the style of HTTP, NNTP, and SMTP. The package provides: Error, which represents a numeric error response from a server.
netchan Package netchan implements type-safe networked channels: it allows the two ends of a channel to appear on different computers connected by a network.
old
template Package template implements data-driven templates for generating textual output such as HTML. Templates are executed by applying them to a data structure.
os Package os provides a platform-independent interface to operating system functionality.
inotify Package inotify implements a wrapper for the Linux inotify system.
signal Package signal implements operating system-independent signal handling.
user Package user allows user account lookups by name or id.
patch Package patch implements parsing and execution of the textual and binary patch descriptions used by version control tools such as CVS, Git, Mercurial, and Subversion.
path Package path implements utility routines for manipulating slash-separated filename paths.
filepath Package filepath implements utility routines for manipulating filename paths in a way compatible with the target operating system-defined file paths.
rand Package rand implements pseudo-random number generators.
reflect Package reflect implements run-time reflection, allowing a program to manipulate objects with arbitrary types.
regexp Package regexp implements a simple regular expression library.
rpc Package rpc provides access to the exported methods of an object across a network or other I/O connection.
jsonrpc Package jsonrpc implements a JSON-RPC ClientCodec and ServerCodec for the rpc package.
runtime Package runtime contains operations that interact with Go's runtime system, such as functions to control goroutines.
cgo Package cgo contains runtime support for code generated by the cgo tool.
debug Package debug contains facilities for programs to debug themselves while they are running.
pprof Package pprof writes runtime profiling data in the format expected by the pprof visualization tool.
scanner Package scanner provides a scanner and tokenizer for UTF-8-encoded text.
smtp Package smtp implements the Simple Mail Transfer Protocol as defined in RFC 5321.
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 strings.
sync Package sync provides basic synchronization primitives such as mutual exclusion locks.
atomic 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.
syslog Package syslog provides a simple interface to the system log service.
tabwriter Package tabwriter implements a write filter (tabwriter.Writer) that translates tabbed columns in input into properly aligned text.
template Package template implements data-driven templates for generating textual output such as HTML. Templates are executed by applying them to a data structure.
parse Package parse builds parse trees for templates.
testing Package testing provides support for automated testing of Go packages.
iotest Package iotest implements Readers and Writers useful only for testing.
quick Package quick implements utility functions to help with black box testing.
script Package script aids in the testing of code that uses channels.
time Package time provides functionality for measuring and displaying time.
try Package try contains the executable part of the gotry command.
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.
url Package URL parses URLs and implements query escaping.
utf16 Package utf16 implements encoding and decoding of UTF-16 sequences.
utf8 Package utf8 implements functions and constants to support text encoded in UTF-8.
websocket Package websocket implements a client and server for the Web Socket protocol.
xml Package xml implements a simple XML 1.0 parser that understands XML name spaces.

release.r60.3. Except as noted, this content is licensed under a Creative Commons Attribution 3.0 License.