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

Fix go directive to avoid language version #553

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

haruyama480
Copy link

@haruyama480 haruyama480 commented Mar 22, 2024

Specifying 1.22 (referred to as the language version) without the toolchain directive causes compilation to fail when developers uses older go like 1.21.
To workaround, I recommend to specify go 1.22.0.

golang/go#62278 (comment)

@haruyama480 haruyama480 marked this pull request as ready for review March 22, 2024 19:16
@haruyama480
Copy link
Author

#529 (comment)

Yes, the following error is local issue.

go: downloading go1.22 (darwin/arm64)
go: download go1.22 for darwin/arm64: toolchain not available

However, this merge works well without above error.

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.

None yet

1 participant