3 ms·
export GOPATH=$GOPATH:$PWD Wasn't the need to do that removed by the use of go.mod? Roughly the same question about the 8 or so manual (and unpinned) `go get`
by mdaniel 6y ago
export GOPATH=$GOPATH:$PWD
Wasn't the need to do that removed by the use of go.mod? Roughly the same question about the 8 or so manual (and unpinned) `go get` commands
Pedantically, the command should also be
export GOPATH=$GOPATH${GOPATH:+:}$PWD
otherwise one will end up with a GOPATH of ":/the/dir"