Get the latest tech news
Go automatically downloads a newer toolchain if needed
I am using elliotchance/orderedmap as my choice of ordered maps (since Go doesn't have one in standard library yet). I recently did a PR to implement Go 1.23 iterators, because I find them neat, however I was avoiding to use it in the code that generates this blog since Go 1.23 was just released and is still not the default Go in nixpkgs.
I recently did a PR to implement Go 1.23 iterators, because I find them neat, however I was avoiding to use it in the code that generates this blog since Go 1.23 was just released and is still not the default Go in nixpkgs. The default value for GOTOOLCHAIN is auto, that basically has the behavior described in this post You can also set to local to always use the current go binary, or the previous behaviour pre-1.21 Go There is also<name>+auto and path options, that can be seen in the docs It makes the whole bootstrapping process for a Go project much easier: as long as you have a reasonable up-to-date go binary in your PATH, you should be ready to go (pun intended).
Or read this on Hacker News