Skip to content

Fix invalid Go version format in go.mod (1.23.0 → 1.23)#284

Closed
im-jongmin-eml wants to merge 3 commits intorubenv:masterfrom
im-jongmin-eml:fix/go-version-in-go-mod
Closed

Fix invalid Go version format in go.mod (1.23.0 → 1.23)#284
im-jongmin-eml wants to merge 3 commits intorubenv:masterfrom
im-jongmin-eml:fix/go-version-in-go-mod

Conversation

@im-jongmin-eml
Copy link

Hi 👋

This PR fixes an issue in the go.mod file introduced in tag v1.7.2.

go 1.23.0 // ❌ invalid

According to the Go Modules Reference, the Go version must be in the form of 1.23 without a patch version. Using 1.23.0 causes tools like go install to fail with:

invalid go version '1.23.0': must match format 1.23

This change updates it to:

go 1.23 // ✅ valid

Thanks!

@rubenv
Copy link
Owner

rubenv commented Apr 16, 2025

Looks like it needs a go mod tidy

@im-jongmin-eml
Copy link
Author

@rubenv Thanks for pointing that out! I just ran go mod tidy and pushed the update.
Let me know if there's anything else needed 🙏

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

Successfully merging this pull request may close these issues.

2 participants