Re:Golang 1.4 Internal Packages
by Jayschwa on Wednesday June 25, 2014 @05:45PM
(#7946924)
I'm a borderline Go fanboy, but GOPATH tends to drive me nuts as well. It'd be nice if it had a sane default. 99% of the time, I'm just doing GOPATH=$PWD.
[ Parent
| on HN ]
Re:Golang 1.4 Internal Packages
by artursapek on Wednesday June 25, 2014 @06:05PM
(#7947026)
I'm glad I'm not the only one confounded by GOPATH. I have a script I use to build my files that does
GOPATH=`pwd`:$GOPATH go build $1.go
...where my bash_profile initially exports GOPATH as /usr/local/go. Probably unconventional but hey, it works.