3 ms·
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
by artursapek 12y ago
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.