forked from remote/oauth2
Merge branch 'aws-signature' of https://github.com/ScruffyProdigy/oauth2 into aws-signature
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
// Copyright 2021 The Go Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
package externalaccount
|
||||
|
||||
import (
|
||||
@@ -13,8 +14,7 @@ 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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user