Hi, 3 things:
1. can you post here what you get when you type echo $GOPATH just to make sure your GOPATH isn't being updated in some other place you didn't know about 2. How are you installing a package? 3. can you post what is being placed in /home ? Thanks Diego On Monday, July 3, 2017 at 1:43:51 AM UTC-4, Martin Spasov wrote: > > I do not have two elements in my path o.O > > The only path in my GOPATH is ''/home/Documents/GoProjects''. > > On Monday, July 3, 2017 at 1:27:09 AM UTC+3, Matt Harden wrote: >> >> Move that to the beginning of your GOPATH (first entry instead of last) >> and it should work for you. >> >> By the way, I normally only have one entry in my GOPATH. Out of >> curiosity, why do you have more than one? >> >> On Sun, Jul 2, 2017, 14:20 Martin Spasov <suburb...@gmail.com> wrote: >> >>> hey, my src, pkg and bin directories are in the GoProjects folder which >>> is the last one in the path >>> On Mon, Jul 3, 2017 at 12:17 AM, Justin Israel <justin...@gmail.com> >>> wrote: >>> >>> 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 <suburb...@gmail.com> 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 <matt....@gmail.com> >>>> wrote: >>>> >>>> I believe it's the first folder in GOPATH, not the last. >>>> >>>> On Sun, Jul 2, 2017 at 1:21 PM <suburb...@gmail.com> 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 golang-nuts...@googlegroups.com. >>>>> 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 golang-nuts...@googlegroups.com. >>>> 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 golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.