Small, domain-free Go building blocks extracted from NeoGate:
structured logging, an HTTP client with retries and SSRF guarding, GoFiber helpers,
a stale-while-revalidate cache, and a SQLite migration runner.
Pre-1.0: the API may change between v0.x releases.
Packages
Package
What
logx
slog context handler, canonical Err attribute, request-id propagation
Package logx holds the small slog helpers that make logs correlatable and consistent: a request-ID carried on the context, a handler decorator that stamps it onto every record, and a canonical error attribute.
Package logx holds the small slog helpers that make logs correlatable and consistent: a request-ID carried on the context, a handler decorator that stamps it onto every record, and a canonical error attribute.
Click to show internal directories.
Click to hide internal directories.
go.dev uses cookies from Google to deliver and enhance the quality of its services and to
analyze traffic. Learn more.