Re: [go-nuts] Multiple directory paths in $GOPATH and go get

2018-03-09 Thread Ian Lance Taylor
On Fri, Mar 9, 2018 at 5:12 AM, Kaveh Shahbazian wrote: > Thanks! > > The reason for this question: wanted to have one $GOPATH/bin but different > $GOPATH/src. You may be able to use the GOBIN environment variable to do this. See `go help gopath`. Ian > On Friday, March 9, 2018 at 4:33:24 PM

Re: [go-nuts] Multiple directory paths in $GOPATH and go get

2018-03-09 Thread Kaveh Shahbazian
Thanks! The reason for this question: wanted to have one $GOPATH/bin but different $GOPATH/src. On Friday, March 9, 2018 at 4:33:24 PM UTC+3:30, ohir wrote: > > On Fri, 9 Mar 2018 04:46:16 -0800 (PST) > Kaveh Shahbazian > wrote: > > > As I understand it's possible to have multiple directory pa

Re: [go-nuts] Multiple directory paths in $GOPATH and go get

2018-03-09 Thread Wojciech S. Czarnecki
On Fri, 9 Mar 2018 04:46:16 -0800 (PST) Kaveh Shahbazian wrote: > As I understand it's possible to have multiple directory paths in > *$GOPATH*, separated by the OS path separator. > > Is there a way to tell *go get* to use the second (nth) item in the path > collection? > No. Go get uses fir

[go-nuts] Multiple directory paths in $GOPATH and go get

2018-03-09 Thread Kaveh Shahbazian
As I understand it's possible to have multiple directory paths in *$GOPATH*, separated by the OS path separator. Is there a way to tell *go get* to use the second (nth) item in the path collection? -- You received this message because you are subscribed to the Google Groups "golang-nuts" grou