Skip to content

Commit 600ac32

Browse files
authored
Added deprecation to Parser struct fields
1 parent b722d4e commit 600ac32

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

parser.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,17 @@ import (
1010
type Parser struct {
1111
// If populated, only these methods will be considered valid.
1212
//
13-
// In future releases, this field will not be exported anymore and should be set with an option to NewParser instead.
13+
// Deprecated: In future releases, this field will not be exported anymore and should be set with an option to NewParser instead.
1414
ValidMethods []string
1515

1616
// Use JSON Number format in JSON decoder.
1717
//
18-
// In future releases, this field will not be exported anymore and should be set with an option to NewParser instead.
18+
// Deprecated: In future releases, this field will not be exported anymore and should be set with an option to NewParser instead.
1919
UseJSONNumber bool
2020

2121
// Skip claims validation during token parsing.
2222
//
23-
// In future releases, this field will not be exported anymore and should be set with an option to NewParser instead.
23+
// Deprecated: In future releases, this field will not be exported anymore and should be set with an option to NewParser instead.
2424
SkipClaimsValidation bool
2525
}
2626

0 commit comments

Comments
 (0)