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.