This file describes how to install Go 1.22 and enable the range functions experimental feature.
Go has standard instructions for managing multiple installations at https://go.dev/doc/manage-install, this document focuses on how to install Go 1.22 rc1 to enable the range functions experiment.
💡 These instructions are only useful until Go 1.22 is officially released (the target is February 2024)
💡 Go 1.22 rc2 has now been released, these instructions are still valid, simply replace rc1 with rc2 to adapt (e.g., https://pkg.go.dev/golang.org/dl/go1.22rc2)