-
-
Notifications
You must be signed in to change notification settings - Fork 250
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Broken go.mod #86
Comments
you need to change the import to more info: https://github.com/golang/go/wiki/Modules#releasing-modules-v2-or-higher
|
Interesting, I thought it is needed to specify major version in import only if you use multiple such versions. |
yeah, seems like not... anything greater than v1 needs that. I particularly don't like it very much, but 🤷♂️ |
I actually already added it to docs: https://github.com/caarlos0/env#go-modules
|
Didn't notice that one, sorry! Thank you and sorry for the false issue, closing this :-) |
no problem, thanks! :D |
btw: fixed on https://github.com/caarlos0/env/releases/tag/v6.0.0
|
It looks like this commit broke the go.mod file:
0b4f1fc
Latest working version that I can update to and go mod tidy goes through is 5.1.1, 5.1.2 fails with following message:
go: github.com/caarlos0/env@v5.1.2+incompatible: go.mod has post-v5 module path "github.com/caarlos0/env/v5" at revision v5.1.2
caarlos0/env is listed as
github.com/caarlos0/env v5.1.1+incompatible
in my go.mod file (upgrading from v4).The text was updated successfully, but these errors were encountered: