testTime is the time interface where testTime.Now() is controllable using testTime.curTime
| 8 | // testTime is the time interface where testTime.Now() is controllable using |
| 9 | // testTime.curTime |
| 10 | type testTime struct { |
| 11 | curTime int64 |
| 12 | } |
| 13 | |
| 14 | func (t testTime) Now() int64 { |
| 15 | return t.curTime |
nothing calls this directly
no outgoing calls
no test coverage detected