File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
package jwt
2
2
3
- // ParserOption is used to implement functional-style options that modify the behaviour of the parser. To add
3
+ // ParserOption is used to implement functional-style options that modify the behavior of the parser. To add
4
4
// new options, just create a function (ideally beginning with With or Without) that returns an anonymous function that
5
5
// takes a *Parser type as input and manipulates its configuration accordingly.
6
6
type ParserOption func (* Parser )
@@ -13,7 +13,7 @@ func WithValidMethods(methods []string) ParserOption {
13
13
}
14
14
}
15
15
16
- // WithJSONNumber is an option to configure the underyling JSON parser with UseNumber
16
+ // WithJSONNumber is an option to configure the underlying JSON parser with UseNumber
17
17
func WithJSONNumber () ParserOption {
18
18
return func (p * Parser ) {
19
19
p .UseJSONNumber = true
You can’t perform that action at this time.
0 commit comments