Versions in this module Expand all Collapse all v0 v0.24.1 Dec 12, 2023 Changes in this version + type Clock interface + Now func() time.Time + func NewRealClock() Clock + type SimulatedClock struct + func NewSimulatedClock(t time.Time) *SimulatedClock + func (c *SimulatedClock) AdvanceTime(d time.Duration) + func (c *SimulatedClock) Now() time.Time + func (c *SimulatedClock) SetTime(t time.Time)