Hacker News new | past | comments | ask | show | jobs | submit login

Author here.

This doesn't make sense. The toolchain will be updated only IF you say your project only runs in Go >= XX. This is what `go` directive in `go.mod` says: my projects doesn't work in versions of Go older than this. This is why it happened to me, I declared I need `go 1.23` because of range-over-func, and the toolchain respected my wishes.

This is not an "enforcing you to use the latest Go version, even if you don't wish for it".




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: