Closed Tyler-Zhang closed 5 years ago
If the GOPATH is not set, the tool will try to use /src as the $GOPATH/src which will often fail. GOPATH is defined by default as ~/go.
/src
$GOPATH/src
~/go
'fixed' by removing boilerplate's detection of, and writing to $GOPATH.
New tools now written to $(pwd).
If the GOPATH is not set, the tool will try to use
/src
as the$GOPATH/src
which will often fail. GOPATH is defined by default as~/go
.