This commit is contained in:
Ryan Kohler 2021-01-20 10:58:25 -08:00
parent 3aaffc9d6a
commit ff3aac6c19
2 changed files with 28 additions and 27 deletions

View File

@ -14,7 +14,8 @@ import (
var defaultTime = time.Date(2011, 9, 9, 23, 36, 0, 0, time.UTC)
var secondDefaultTime = time.Date(2020, 8, 11, 6, 55, 22, 0, time.UTC)
func setTime(testTime time.Time) (func() time.Time) {
func setTime(testTime time.Time) func() time.Time {
return func() time.Time {
return testTime
}