()
| 20 | func newFakeClock(t time.Time) *fakeClock { return &fakeClock{t: t} } |
| 21 | |
| 22 | func (c *fakeClock) Now() time.Time { return c.t } |
| 23 | |
| 24 | func (c *fakeClock) Advance(d time.Duration) { c.t = c.t.Add(d) } |
| 25 |
no outgoing calls
no test coverage detected