forked from Mirrors/oauth2
go fmt
This commit is contained in:
parent
3aaffc9d6a
commit
ff3aac6c19
|
@ -14,7 +14,8 @@ import (
|
||||||
|
|
||||||
var defaultTime = time.Date(2011, 9, 9, 23, 36, 0, 0, time.UTC)
|
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)
|
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 func() time.Time {
|
||||||
return testTime
|
return testTime
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue