Documentation
¶
Overview ¶
package time is a wrapper for the stdlib time library that aliases most underlying types, but allows overrides for testing purposes.
Synced to go-1.20.7.
Index ¶
- Constants
- Variables
- func After(d Duration) <-chan Time
- func AfterFunc(d Duration, f func()) *time.Timer
- func NewTicker(d Duration) *time.Ticker
- func NewTimer(d Duration) *time.Timer
- func NewTimerWithoutMaxDelay(d Duration) *time.Timer
- func Sleep(d time.Duration)
- func Tick(d Duration) <-chan time.Time
- type Duration
- type Location
- type Month
- type ParseError
- type Ticker
- type Time
- type Timer
- type Weekday