Go mod & v3
manawasp opened this issue ยท 2 comments
manawasp commented
Hello,
I'm new to go mod
and i'm adding it to a project :
Currently with a go mod init I got this version of the limiter :
github.com/ulule/limiter v2.2.2+incompatible
I tried to force ugrade to v3 but I got an error :
$ go get github.com/ulule/limiter@v3.1.0
go: finding github.com/ulule/limiter v3.1.0
go: github.com/ulule/limiter@v0.0.0-20190117112858-4a9155baecad: go.mod has post-v0 module path "github.com/ulule/limiter/v3" at revision 4a9155baecad
go: error loading module requirements
I see this PR #39 and look like supported.
Do you have an idea ?
Thanks !
novln commented
Sorry, I should update the README it's not correct ๐
To use go mod
with github.com/ulule/limiter
, you should use this command:
go get github.com/ulule/limiter/v3@v3.1.0
If you have any question, don't hesitate ๐
manawasp commented
It works perfectly thank you ๐