Go Standard Library Pocket Reference
A concise, practical tour of the packages that make Go batteries-included. Covering more
than 80 standard library packages - from fmt and strings to
net/http, encoding/json, and the crypto suite - this
pocket reference gives you the key signatures, idioms, and gotchas for the code you write
every day, without leaving your editor for the docs.
What's Covered
- 1 Strings & Text fmt · strings · bytes · strconv · regexp · unicode · text/template · html/template
- 2 Encoding & Serialization encoding/json · encoding/xml · encoding/csv · base64 · hex · binary · gob · pem
- 3 I/O, Files & OS io · io/fs · bufio · os · os/exec · os/signal · path/filepath · embed
- 4 Compression & Archives archive/tar · archive/zip · compress/flate · compress/gzip · compress/zlib
- 5 Networking & HTTP net · net/http · net/http/httptest · net/url · net/smtp · mime/multipart
- 6 Cryptography crypto/aes · crypto/cipher · crypto/ecdsa · crypto/ed25519 · crypto/rand · crypto/rsa · sha256 · sha512 · hmac
- 7 Concurrency & Runtime context · sync · sync/atomic · runtime · runtime/debug
- 8 Data Structures & Math slices · maps · sort · cmp · math · math/big · math/bits · math/rand/v2 · hash/crc32 · hash/fnv
- 9 Time, Logging & Tooling time · log · log/slog · errors · flag · expvar · database/sql · testing