I've installed Go on my Linux machine in /usr/local/go
, and intended to use /usr/local/go/src
for development. However when I try this I get the following error:
$GOPATH must not be set to $GOROOT
Effectively as I understand it, this means you shouldn't use /usr/local/go
for development. Why not?