Go Programming
Deterministic Go Tests: How to Forbid `time.Now()`
Tired of flaky Go tests? Learn why `time.Now()` is often the culprit and how to enforce a ban using custom static analysis for truly deterministic, reliable tests.
Alexei Petrov•
7 min read