package slogtest
Import Path
log/slog/internal/slogtest (on go.dev)
Dependency Relation
imports one package, and imported by 0 packages
Involved Source Files
Package slogtest contains support functions for testing slog.
Package-Level Functions (only one)
RemoveTime removes the top-level time attribute.
It is intended to be used as a ReplaceAttr function,
to make example output deterministic.
The pages are generated with Golds v0.7.0-preview. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |