jwt-go icon indicating copy to clipboard operation
jwt-go copied to clipboard

Cant go get v4

Open kamal2311 opened this issue 4 years ago • 3 comments

Trying to get the latest jwt-go

go get github.com/dgrijalva/jwt-go@a58974ee87a68abcf6cfb2315224e89135cf3311

results in the following error.

go get github.com/dgrijalva/jwt-go@a58974ee87a68abcf6cfb2315224e89135cf3311
go: finding github.com/dgrijalva/jwt-go a58974ee87a68abcf6cfb2315224e89135cf3311
go: finding github.com/dgrijalva/jwt-go a58974ee87a68abcf6cfb2315224e89135cf3311
go get github.com/dgrijalva/jwt-go@a58974ee87a68abcf6cfb2315224e89135cf3311: github.com/dgrijalva/[email protected]
ee87a6: invalid version: go.mod has post-v1 module path "github.com/dgrijalva/jwt-go/v4" at revision a58974ee87a6

kamal2311 avatar Feb 28 '20 02:02 kamal2311

Please try go get github.com/dgrijalva/jwt-go/v4@a58974ee87a68abcf6cfb2315224e89135cf3311 and let me know if that works

dgrijalva avatar Mar 03 '20 19:03 dgrijalva

That works and it solves #355

zbindenren avatar Mar 17 '20 13:03 zbindenren

v4 cannot work, go get failed

qiaoshuangshuang avatar May 19 '22 02:05 qiaoshuangshuang