Skip to content

Commit

Permalink
appease linter
Browse files Browse the repository at this point in the history
  • Loading branch information
lestrrat committed Jan 6, 2021
1 parent 698a4bd commit 283071e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
9 changes: 0 additions & 9 deletions jwt/validate.go
Expand Up @@ -6,15 +6,6 @@ import (
"time"
)

const (
optkeyAcceptableSkew = "acceptableSkew"
optkeyClock = "clock"
optkeyIssuer = "issuer"
optkeySubject = "subject"
optkeyAudience = "audience"
optkeyJwtid = "jwtid"
)

type Clock interface {
Now() time.Time
}
Expand Down
2 changes: 1 addition & 1 deletion options.go
Expand Up @@ -18,7 +18,7 @@ type jsonOption struct {
func (o *jsonOption) isJSONOption() {}

func newJSONOption(n interface{}, v interface{}) JSONOption {
return &jsonOption{ option.New(n, v) }
return &jsonOption{option.New(n, v)}
}

// WithUseNumber controls whether the jwx package should unmarshal
Expand Down

0 comments on commit 283071e

Please sign in to comment.