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

I've been doing basically the same thing by creating src/ and pkg/ directories and using this alias:

go='GOPATH=`pwd`:$GOPATH go'



In this case, try to run a `go get`, it will install everything into your current directory's bin/ directory.


go get still works but it uses the src/ ... AFAIK there's no bin/ with go...




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: