-
Notifications
You must be signed in to change notification settings - Fork 994
go get showing this library as +incompatible in go.mod #294
Comments
Go mod requires some special flags. When I last looked at this, dep was the recommended thing and go mod was just a proposal. Since it's included in go 1.11, it would appear it's time to add support. I'll look into this over the weekend. |
Great thank you. There is a good video on pitfalls of dep and why they went another route. Finally having a real module Management system in go tooling is huge so glad it's being standardized |
I also faced same issue after going through go mod docs I found a way to solve this. Assuming if we are using go mod then go version is 1.11
|
@dgrijalva any update on this? |
Any fixes for this ? |
Started working this when I imported "github.com/vladimiroff/jwt-go/v3" . Hope this helps some one |
Are there any plans to fix this? If so, any idea when the fix will be available? |
Support for go modules is coming in v4. I don't think it's possible to add support as a non-breaking change. |
Thanks for the response about it coming in v4 - what is the projected timeframe of v4? |
I faced some issues with go modules and jwt-go package, and taking a look in the format of other require modules inside my
It's working for me, but I'm waiting for |
did you just use go get on that? |
When upgrading from go 1.10 to 1.11 and starting to use go.mod I noticed this was an issue. I was indirectly using this by using
github.com/appleboy/gin-jwt v2.3.1
but even trying to use it directly I get this +incompatible marking.. not sure what it means or why actually...
ithub.com/dgrijalva/jwt-go v3.2.0+incompatible // indirect
??
The text was updated successfully, but these errors were encountered: