I just upgraded to OSX Sierra from El Capitan. As such, I also need to upgrade my Golang compiler from 1.6.2 since it does not support Sierra.
I downloaded the latest 1.7.5 pkg installer and ran it, getting the prompt that it would remove previous versions of Go, and it said it was successful. But when I run
go version it still says
I have gone so far as to manually delete my
/usr/local/bin/go directory and run the 1.7.5 installer again, but
go version still says
go1.6.2 darwin/amd6. I have also restarted my terminal window and even the full computer between attempts.
What is going wrong? How can I get my Go compiler to update?