You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry for the confusion, but jwt-go does not use semantic import versioning, so by default "latest" has to ignore all the v2+ tagged things, and jwt-go is up to v3.0.x. Presumably StandardClaims is in one of those later versions. You can force the use of the latest commit as if it were still in the v0 world (without semantic import versioning), by using
go get github.com/dgrijalva/jwt-go@06ea1031745
(that's the latest commit, I just looked it up). That should get you going.
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?What did you do?
I need the CC env to use gcc:
Code:
It's a test from dgrijalva/jwt-go package
https://play.golang.org/p/gr8qhww8Z0S
What did you expect to see?
With standard go it builds
What did you see instead?
The text was updated successfully, but these errors were encountered: