chore: upgrade gofumpt to v0.3.1 (#2028)

This commit is contained in:
Jim authored and GitHub committed 2022-04-19 11:42:54 -04:00
1 parent ec0f107ef5
commit addbfee593
13 files changed
+34 -17

No files matched your search

+2 -1
View File
@@ -49,7 +49,8 @@ func Callback(
iamRepoFn IamRepoFactory,
atRepoFn AuthTokenRepoFactory,
am *AuthMethod,
state, code string) (finalRedirect string, e error) {
state, code string,
) (finalRedirect string, e error) {
const op = "oidc.Callback"
if oidcRepoFn == nil {
return "", errors.New(ctx, errors.InvalidParameter, op, "missing oidc repository function")
+2 -1
View File
@@ -46,7 +46,8 @@ func TestAuthMethod(
state AuthMethodState,
clientId string,
clientSecret ClientSecret,
opt ...Option) *AuthMethod {
opt ...Option,
) *AuthMethod {
t.Helper()
ctx := context.TODO()
opts := getOpts(opt...)