diff --git a/example_test.go b/example_test.go index bfd7271..edb48e4 100644 --- a/example_test.go +++ b/example_test.go @@ -18,7 +18,7 @@ func ExampleParse(myToken string, myLookupKey func(interface{}) (interface{}, er } } -func ExampleNew(mySigningKey string) (string, error) { +func ExampleNew(mySigningKey []byte) (string, error) { // Create the token token := jwt.New(jwt.SigningMethodHS256) // Set some claims