* Add a clock package for better time mocking * Make Clock a struct so it doesn't need initialization * Test clock package * Use atomic for live time tests * Refer to same clock.Mock throughout methods |
||
|---|---|---|
| .. | ||
| clock.go | ||
| clock_suite_test.go | ||
| clock_test.go | ||