Something to consider: if you untar over an existing installation, then it's possible you will be left with stale artefacts - e.g. source files that were in an old version that aren't in the new one. I've been bitten by this in other projects.
I haven't been bitten by this in Go, but I always mv or rm the old /usr/local/go our of the way before untarring a fresh one to avoid the possibility. On Tuesday, 11 April 2023 at 15:00:13 UTC+1 Walddys Emmanuel Dorrejo Céspedes wrote: > 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. > -- 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/f597c790-da2a-41c7-828c-4f4296c90504n%40googlegroups.com.