Skip to content

Commit 76f5828

Browse files
Remove misleading ParserOptions documentation (#484)
1 parent 3707c7a commit 76f5828

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

parser_option.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@ package jwt
33
import "time"
44

55
// ParserOption is used to implement functional-style options that modify the
6-
// behavior of the parser. To add new options, just create a function (ideally
7-
// beginning with With or Without) that returns an anonymous function that takes
8-
// a *Parser type as input and manipulates its configuration accordingly.
6+
// behavior of the parser.
97
type ParserOption func(*Parser)
108

119
// WithValidMethods is an option to supply algorithm methods that the parser

0 commit comments

Comments
 (0)