I get the error go install: no install location for directory
.
My $GOPATH
environment variable is set just fine. The issue I have is that I don't want to develop inside my go workspace. Or is this my only choice?
I have a git repo sitting somewhere else and I would like to work inside there, if the binaries are compiled into the $GOPATH
that is fine - but I'd expect to be able to compile / run builds from an arbitrary directory.
I wouldn't expect another collaborator to have to clone the repo into their go workspace? That seems like a serious limitation to me.
Either:
I wouldn't expect another collaborator to have to clone the repo into their go workspace? That seems like a serious limitation to me.
It is not. That is exactly what a "go workspace" is for.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With