j178 / leetgo

Best LeetCode friend for geek. :snowboarder:
MIT License
527 stars 33 forks source link

fix: update to concrete toolchain version go.mod #298

Closed conrad760 closed 2 months ago

conrad760 commented 2 months ago

Thank you for the updates. I do see a warning now though about the toolchain name. Here are the docs I found Go toolchain names

Before Go 1.21, the initial release of a Go toolchain was version 1.N, not 1.N.0, so for N < 21, the ordering is adjusted to place 1.N after the release candidates.

1.22 should to be 1.22.0

reproduce on darwin/arm64.

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