Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 504 Bytes

README.md

File metadata and controls

9 lines (5 loc) · 504 Bytes

deterministic

Package deterministic provides deterministic implementations of functions commonly replaced during testing, enabling reliable and reproducible test execution.

It offers drop-in replacements for non-deterministic sources like crypto/rand.Read, time.Now, slog timestamps, and OpenTelemetry trace/span IDs — making tests fully reproducible.

Documentation

Full API documentation and examples are available on pkg.go.dev.