o1egl / paseto

Platform-Agnostic Security Tokens implementation in GO (Golang)
MIT License
833 stars 34 forks source link

how to get version 2.0.0 #31

Closed allanwakes closed 2 years ago

allanwakes commented 3 years ago

Hi, try to install via command go get -u github.com/o1egl/paseto, but I can only get version 1.0.0, using go get -u github.com/o1egl/paseto@v2.0.0, it said invalid version: unknown revision v2.0.0. Am I the only one who run into this? Thanks.

ghost commented 2 years ago
$ go get -u github.com/o1egl/paseto/v2
go: downloading github.com/o1egl/paseto v1.0.0
go: downloading github.com/o1egl/paseto/v2 v2.1.1
go: downloading github.com/mitchellh/mapstructure v1.1.2
go: downloading golang.org/x/crypto v0.0.0-20200117160349-530e935923ad
go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97
go: downloading golang.org/x/sys v0.0.0-20190412213103-97732733099d