Versions in this module Expand all Collapse all v0 v0.0.2 Oct 29, 2024 Changes in this version + func CurrentMicros() int64 + func CurrentMillis() int64 + func Duration(duration time.Duration) float64 + func Now() time.Duration + func ReprOfDuration(duration time.Duration) string + func Since(d time.Duration) time.Duration + func Time() time.Time + type ElapsedTimer struct + func NewElapsedTimer() *ElapsedTimer + func (et *ElapsedTimer) Duration() time.Duration + func (et *ElapsedTimer) Elapsed() string + func (et *ElapsedTimer) ElapsedMs() string + type FakeTicker interface + Done func() + Tick func() + Wait func(d time.Duration) error + func NewFakeTicker() FakeTicker + type Ticker interface + Chan func() <-chan time.Time + Stop func() + func NewTicker(d time.Duration) Ticker