After i upgraded my go version from 1.8 to 1.9 i am getting this following error while i trying to get some 3rd dependencies to my project using go get -u command :
flag provided but not defined: -goversion
usage: compile [options] file.go…
-% debug non-static initializers
-+ compiling runtime
-B disable bounds checking
set relative path for local import
Why am i getting this error ?
Fix : I downloaded Go version from it’s web site instead of homebrew then it’s fixed.
Strange. I use Go via Homebrew and did not come across this issue. Maybe not Homebrew related. I wonder if
brew reinstall go
brew uninstall go
brew install go
would have fixed this issue.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.