hello, i did this Bash Script (only Linux/WSL) to update GoLang, it will give you some options, like update to the next patch (1.20.x) or the next minor version (1.21) only stable ones (not beta neither rc), if someone found useful, here is the link: https://gitlab.com/wedc-scripts/go_updater.
it respect the user environment, if Golang home is in other location, it will respect that, it will work in base of go env.