Versions in this module Expand all Collapse all v1 v1.0.1 Apr 8, 2024 v1.0.0 Apr 8, 2024 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)