Golang – GoEnv with versions 1.11+

If you have wondered why does you goenv is stuck on version 1.11.X then you probably missed on one of the open issues ( which btw is quite annoying to find )

brew install jq
if [ -n "$(brew info --json goenv | jq -r '.[0].installed[] | select(.version | test("^HEAD-") | not)')" ]; then
  brew uninstall goenv
brew install --HEAD goenv

Once you execute the code above – you will be able to use up to date versions of go 🙂


Leave a Reply

Your email address will not be published. Required fields are marked *