Versions in this module Expand all Collapse all v1 v1.6.0 Apr 5, 2025 v1.4.0 Oct 6, 2024 Changes in this version + type Clock interface + Add func(d time.Duration) + NewTimer func(d time.Duration) *Timer + Now func() time.Time + Set func(t time.Time) + Sleep func(d time.Duration) + func NewFakeClock() Clock + func NewStdClock() Clock + type Timer struct + C <-chan time.Time + func (t *Timer) Reset(d time.Duration) bool + func (t *Timer) Stop() bool