Searched refs:testClock (Results 1 – 1 of 1) sorted by relevance
30 type testClock time.Time type32 func (t testClock) Now() time.Time { return time.Time(t) }35 t.clock = testClock(time.Unix(0, 0).Add(startTime))47 t.clock = testClock(time.Unix(0, 0).Add(endTime))