guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Go not setting $GOPATH by default


From: 宋文武
Subject: Re: Go not setting $GOPATH by default
Date: Thu, 29 Sep 2016 19:34:36 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

address@hidden writes:

> Hi
>
> I have just installed go and it seems that it does not set a gopath by
> default.
>
> This leads to errors when trying to use go get, e.g.:
>
> address@hidden ~$ go get github.com/syncthing/syncthing
> package github.com/syncthing/syncthing: cannot download, $GOPATH not
> set. For more details see: go help gopath
>
> I propose that we set the gopath by default to "~/go" and create that
> directory by default, what do you think?

I think it's a good thing for user to set GOPATH his own, knowing where
the `go get' download into.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]