dgrijalva / jwt-go

ARCHIVE - Golang implementation of JSON Web Tokens (JWT). This project is now maintained at:
https://github.com/golang-jwt/jwt
MIT License
10.78k stars 997 forks source link

Wrong in examples #468

Closed domjeff closed 3 years ago

domjeff commented 3 years ago

https://github.com/dgrijalva/jwt-go/blob/master/example_test.go In line 18 it should be just a jwt.StandardClaims not a pointer to &jwt.StandardClaims