I would assume that GOTOOLCHAIN=local does what you want. The doc <https://go.dev/doc/toolchain> says,
> When GOTOOLCHAIN is set to local, the go command always runs the bundled Go > toolchain. The author of this proposal <https://github.com/docker-library/golang/issues/472> in docker-library/golang also assumes that GOTOOLCHAIN=local preserves pre-1.21 behavior. > On 16. Aug 2023, at 10:42, Stephen Illingworth > <stephen.illingwo...@gmail.com> wrote: > > On Wednesday, 16 August 2023 at 08:47:36 UTC+1 Christoph Berger wrote: > > Thank you for replying. > > What prevents you from using the new toolchains mechanism? > > Nothing really. I suppose it's just that I don't really understand what it is > or what it's for. > > The current method of dealing with the toolchain is as straightforward as it > can possibly be. For me at least. Automatic downloading just seems > unnecessarily complicated but I can accept that other people have different > needs. > > If GOTOOLCHAIN=local disables the automatic downloading and allows me to > continue with my current workflow then I'm happy! The document on the change > was extensive but not entirely clear on this point. > > Regards > Stephen > > > > > -- > You received this message because you are subscribed to a topic in the Google > Groups "golang-nuts" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/golang-nuts/lu2FbQHWg5A/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > golang-nuts+unsubscr...@googlegroups.com > <mailto:golang-nuts+unsubscr...@googlegroups.com>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/e2540552-ddfb-4ce4-9db3-a4aa92ca0e95n%40googlegroups.com > > <https://groups.google.com/d/msgid/golang-nuts/e2540552-ddfb-4ce4-9db3-a4aa92ca0e95n%40googlegroups.com?utm_medium=email&utm_source=footer>. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/416BE6ED-E882-4D34-96B2-4A7C59EC857D%40gmail.com.