Unable to import v2.x.x in go.mod
salmanazmat666 opened this issue · 1 comments
salmanazmat666 commented
Hi I get following error if I include following in my go.mod file.
github.com/joncrlsn/dque v2.2.0
The error I get is
#12 0.387 go: errors parsing go.mod:
#12 0.387 /edge/go.mod:11:2: require github.com/joncrlsn/dque: version "v2.2.0" invalid: should be v0 or v1, not v2
This is probably related to https://go.dev/blog/v2-go-modules. If that's true, can you please make the v2 code follow these guidlines.
baryluk commented
I have exactly same issue
Using go version go1.16.14 linux/amd64