package testutil
import "golang.org/x/exp/slog/internal/testutil"
Package testutil contains support functions for testing.
Index ¶
Functions ¶
func RemoveTime ¶
RemoveTime removes the top-level time attribute. It is intended to be used as a ReplaceAttr function, to make example output deterministic.
Source Files ¶
testutil.go
- Version
- v0.0.0-20250305212735-054e65f0b394 (latest)
- Published
- Mar 5, 2025
- Platform
- linux/amd64
- Imports
- 1 packages
- Last checked
- 3 hours ago –
Tools for package owners.