Using multiple go versions while debugging with GoLand
<aside> <img src="/icons/arrow-right_blue.svg" alt="/icons/arrow-right_blue.svg" width="40px" /> Use the default terminal and not the GoLand terminal, because GoLand has its own environment.
</aside>
sudo rm -rf /usr/local/go
sudo tar -C /usr/local -xzf /Users/mattiamueggler/Downloads/go1.22.3.darwin-amd64.tar.gz
echo $PATH | grep "/usr/local/go/bin"
go version
All releases - The Go Programming Language
# update specific package
go get github.com/username/package-name
# updates all packages
go get -u all
# update specific package
go get github.com/username/package-name