Skip to content
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

Invalid go.mod #17

Closed
zi0r opened this issue Jul 31, 2024 · 3 comments
Closed

Invalid go.mod #17

zi0r opened this issue Jul 31, 2024 · 3 comments

Comments

@zi0r
Copy link

zi0r commented Jul 31, 2024

Your go version definition in go.mod is invalid, which breaks some of the tooling:
go: github.com/facundoolano/ngtop@latest (in github.com/facundoolano/[email protected]): go.mod:3: invalid go version '1.22.4': must match format 1.23

You need to change 1.22.4 to 1.22 to make it happy.

@facundoolano
Copy link
Owner

What go version are you using? I'll look into this, but this go.mod was produced by go mod init with 1.22.4, so I'm assuming it should be valid at least for that go version.

these issues seem related:
golang/go#61888
golang/go#63370

@facundoolano
Copy link
Owner

and this golang/go#61851

@facundoolano
Copy link
Owner

Closing this at it seems to be the expected behavior on newer go versions (I can revisit if someone provides more context).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants