From 0f288f474a13fb50cf75db75a0896ba1d81452eb Mon Sep 17 00:00:00 2001 From: "Giau. Tran Minh" Date: Wed, 9 Feb 2022 16:57:47 +0700 Subject: [PATCH] fix: fixed typo detect by cSpell --- parser_option.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parser_option.go b/parser_option.go index 0fede4f1..6ea6f952 100644 --- a/parser_option.go +++ b/parser_option.go @@ -1,6 +1,6 @@ package jwt -// ParserOption is used to implement functional-style options that modify the behaviour of the parser. To add +// ParserOption is used to implement functional-style options that modify the behavior of the parser. To add // new options, just create a function (ideally beginning with With or Without) that returns an anonymous function that // takes a *Parser type as input and manipulates its configuration accordingly. type ParserOption func(*Parser) @@ -13,7 +13,7 @@ func WithValidMethods(methods []string) ParserOption { } } -// WithJSONNumber is an option to configure the underyling JSON parser with UseNumber +// WithJSONNumber is an option to configure the underlying JSON parser with UseNumber func WithJSONNumber() ParserOption { return func(p *Parser) { p.UseJSONNumber = true