Philosophy & Idioms
What Go optimises for, how it does OO without classes, and the idioms that follow.
What Go optimises for, how it does OO without classes, and the idioms that follow.
Structs, methods, implicit interfaces, embedding and generics.
Errors as values: sentinels, wrapping, errors.Is/As, defer, panic and recover.
Goroutines, channels, select, context, mutexes and common patterns.
net/http routing, middleware, slog, go:embed, config and pprof without a framework.
The go command as build tool, formatter and linter; cross-compiling and container images.
go test, table-driven tests, fakes, httptest, testcontainers, Playwright, benchmarks, fuzzing and pprof.
Things that compile fine in your head but not in Go, or compile and surprise you.
Per-tag gin server scaffolding from an OpenAPI spec using oapi-codegen and a custom splitter.