type Ticker … type realTicker … func (r realTicker) Chan() <-chan time.Time { … } type fakeTicker … func (f *fakeTicker) Reset(d time.Duration) { … } func (f *fakeTicker) Stop() { … } func (f *fakeTicker) expire(now time.Time) *time.Duration { … }
type Ticker … type realTicker … func (r realTicker) Chan() <-chan time.Time { … } type fakeTicker … func (f *fakeTicker) Reset(d time.Duration) { … } func (f *fakeTicker) Stop() { … } func (f *fakeTicker) expire(now time.Time) *time.Duration { … }