Peter,
That will no longer work in go 1.8 since GOPATH is set to $HOME/go by
default and what you describe will also set GOROOT to the same
directory and the two environment variables have to point at different
directories.
("go env" is useful for debugging this)
One solution is "git clone https
Ayan,
It's not idiomatic because you are setting and using GOROOT. Leave that to
the compiler. For example, with no GOROOT,
$ cd $HOME
$ git clone https://go.googlesource.com/go
$ cd go/src
$ ./make.bash
Peter
On Saturday, February 18, 2017 at 5:51:09 PM UTC-5, Ayan George wrote:
>
> I'm some