On 04/26/2016 04:33 PM, Marcus Rückert wrote:
go get -u github.com/nsf/gocode package github.com/nsf/gocode: cannot download, $GOPATH not set. \ For more details see: go help gopath
This is not a really good user experience.
how about we set:
export GOPATH="~/go/"
then the user can still overwrite it in their profile but at least the command above works out of the box.
Hi, sorry I haven't answer before. To be honest I don't have a strong opinion on this. Is "~/go" the expected place? Does Fedora do it like this too? Do we do this for other packages (for other languages for example)? What if the user changes that and we update go afterwards? We shouldn't overwrite it ... (I guess the user will overwrite it on his .bashrc , so it shouldn't be a problem, right?) Is there any drawback I am missing?
darix
-- To unsubscribe, e-mail: opensuse-go+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-go+owner@opensuse.org