package times import "time" type sys struct{} func (sys) Now() time.Time { return time.Now() } func (sys) After(d time.Duration) <-chan time.Time { return time.After(d) }