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 994 forks source link

Why is Parser's ValidMethods no longer exported? #480

Closed adamwoolhether closed 3 years ago

adamwoolhether commented 3 years ago

In fact, all field of the Parser struct are not longer exported, I'm unable to call them when defining my own parser...

How are we supposed to create a jwt.Parser without the fields being exported? It seems a bit obtuse to call reflect just to do so.

adamwoolhether commented 3 years ago

I'm sorry, i forgot the read the change/migrate logs.