I think two different things are being described here.

GOPATH=/path/to/src:/path/to/src2

The first path should be the one that gets the pkg install location.

On Mon, Jul 3, 2017, 9:02 AM Martin Spasov <[email protected]> wrote:

> Does that mean that it is not possible to chose where you want to install
> the pkg ?
> On Mon, Jul 3, 2017 at 12:00 AM, Matt Harden <[email protected]>
> wrote:
>
> I believe it's the first folder in GOPATH, not the last.
>
> On Sun, Jul 2, 2017 at 1:21 PM <[email protected]> wrote:
>
>> From what I found here when you install packages with go get, they get
>> installed in the last folder of your GOPATH env variable. Mine is
>> ''/home/Documents/GoProjects'' but the installed packages end up in
>> ''/home''. It is probably a stupid question, but I honestly do not know
>> what is wrong here.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "golang-nuts" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to