Search across all documentation pages
10 pages in this section.
Explore Go's standard library, a default toolkit for HTTP, JSON, and more. Learn its benefits, key concepts, and when to leverage its stable, dependency-free packages.
Learn Go standard library basics with 10 examples. Discover how to use fmt for output and strings for common string manipulations.
Learn how Go's os, io, bufio, and path/filepath packages handle file and stream I/O, buffering, and cross-platform path manipulation.
Learn to use Go's time package for instants, durations, and recurring events. Integrate context for deadlines and cancellation in Go applications.
Learn to use Go's standard library for hashing, encryption, compression, and randomness. Implement secure tokens, compress data, and generate random numbers.
Learn to use Go's log/slog, regexp, and text/template for structured logging, efficient pattern matching, and safe text generation.
Learn how Go's database/sql and net package families integrate, manage SQL connections, handle networking, and share context.
Learn best practices for using Go's standard library, including dependency discipline, I/O, and resource management, for predictable upgrades and smaller attack surfaces.
A single-page roundup of every highlight bullet from the 9 pages in the Standard Library section, grouped by source page so you can scan all 47 takeaways without opening each article individually.