Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: