./cmd.go:215: undefined: doGopathWorkaround
./cmd.go:250: undefined: doGopathWorkaround
I am running it on:
mac os Sierra v10.12
go version
go version go1.7 darwin/amd64
Thank you, John! - I totally forgot about InteliJ, which is installed and running on my laptop - just because I mostly do everything on the command line (coding in vim and just running files on the command line). thank you for reminding.
Christopher, ah… you’re right… just when I read your reply, I started inspecting brew’s messages… and understood why it did not work for me. brew was trying to install go V. 1.4 on my laptop. and because I have already installed and running go v.1.7… it obviously was failed… wondering now… why brew is trying to install such an old version…?
That’s strange indeed. You could try running brew update once or twice, then brew info go, and if the info still says 1.4, then run brew doctor to see if there is anything wrong with Homebrew’s software list.
As others have mentioned, I would definitely recommend both IntelliJ and VS Code. I dislike both for “religious” reasons - the former being Java and the latter Microsoft, but hey, they both work and work well. VS Code is much lighter FWIW.