Hi Khaled, he had two go binaries in his path with different versions. So he had multiple installations mixing up.
Try to look if you have multiple go installations - if you uninstall one and then again put another on the system you still end up with two. On Linux you could have installed one using your package manager like apt, yum, ... and the download version somewhere else. Kind regards, Sascha On Monday, December 10, 2018 at 6:54:10 PM UTC+1, Khaled Aman wrote: > > Can you please share what you did to clear everything out, I am running > into the same issue. > > Did you uninstall and reinstall? > > On Tuesday, October 2, 2018 at 2:29:08 PM UTC-5, sc28 wrote: >> >> My bad -- >> >> Had installs in both /usr/local/bin and /usr/local/bin/go -- cleared >> everything and reinstalled -- sorry! >> >> >> >> On Tuesday, October 2, 2018 at 3:20:52 PM UTC-4, sc28 wrote: >>> >>> Just installed (Mac pkg version): >>> >>> Tried to compile simple "hello, world" >>> >>> >>> # errors >>> compile: version "go1.11.1" does not match go tool version "go1.11" >>> # internal/race >>> compile: version "go1.11.1" does not match go tool version "go1.11" >>> # unicode/utf8 >>> compile: version "go1.11.1" does not match go tool version "go1.11" >>> # runtime/internal/atomic >>> compile: version "go1.11.1" does not match go tool version "go1.11" >>> # math/bits >>> compile: version "go1.11.1" does not match go tool version "go1.11" >>> # runtime/internal/sys >>> compile: version "go1.11.1" does not match go tool version "go1.11" >>> # sync/atomic >>> compile: version "go1.11.1" does not match go tool version "go1.11" >>> # internal/cpu >>> compile: version "go1.11.1" does not match go tool version "go1.11" >>> # unicode >>> compile: version "go1.11.1" does not match go tool version "go1.11" >>> >>> >>> >>> >>> On Tuesday, October 2, 2018 at 1:15:19 PM UTC-4, Katie Hockman wrote: >>>> >>>> Hello gophers, >>>> >>>> We have just released Go version 1.11.1, a minor point release. >>>> >>>> This release includes fixes to the compiler, documentation, go command, >>>> runtime, and the crypto/x509, encoding/json, go/types, net, net/http, and >>>> reflect packages. >>>> >>>> View the release notes for more information: >>>> https://golang.org/doc/devel/release.html#go1.11.minor >>>> >>>> You can download binary and source distributions from the Go web site: >>>> https://golang.org/dl/ >>>> >>>> To compile from source using a Git clone, update to the release with "git >>>> checkout 1.11.1" and build as usual. >>>> >>>> Thanks to everyone who contributed to the release. >>>> >>>> Cheers, >>>> Katie for the Go Team >>>> >>>> -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.