Search across all documentation pages
10 pages in this section.
Understand how Go's culture of small, focused libraries influences dependency choices. Learn key concepts like stdlib-first, minimal API, and supply-chain hygiene.
Learn to use essential Go libraries like zap, testify, viper, and chi. Explore 10 examples, from basic structured logging to advanced features.
Configure Go services and CLIs using spf13/viper for layered settings or kelseyhightower/envconfig to map environment variables to structs.
Improve Go tests with testify for better failure messages and mockery to generate mock implementations from interfaces.
Learn to use go-playground/validator for struct tags, golang-migrate for schema versions, and sqlc for type-safe SQL codegen in Go.
Implement Prometheus metrics and OpenTelemetry traces in Go services. Learn to expose RED metrics, trace slow requests, and standardize observability.
Learn 25 essential Go library best practices, including vetting licenses, inspecting maintenance, and managing dependency graphs for robust applications.
A single-page roundup of every highlight bullet from the 9 pages in the Essential Libraries section, grouped by source page so you can scan all 52 takeaways without opening each article individually.