Hacker News new | ask | show | jobs
by sa46 1036 days ago
You can reproduce that example with slog verbatim by changing zap to slog.

For example: https://pkg.go.dev/golang.org/x/exp/slog#example-Group