Re: [go-nuts] go env GOPATH not reflecting $GOPATH

2017-09-02 Thread Val
I meant "instead of /home/dev/devSync/workspace". (Perks of replying with phone, couldn't see OP while typing.) -- 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 g

Re: [go-nuts] go env GOPATH not reflecting $GOPATH

2017-09-02 Thread Val
Hello burp, I'm glad you could solve your issue using 'export' in init scripts. Note that if you choose ~/go (instead of ~/Dev/go) then you don't even need a GOPATH environment variable, it is regarded as the default gopath by most of the go ecosystem >=1.8. This is intended to save these modera

Re: [go-nuts] go env GOPATH not reflecting $GOPATH

2017-08-31 Thread burpswangy
Thanks. I actually moved it to /etc/environment... reboot... and it picked it up. Appreciate the help, guys. On Thursday, August 31, 2017 at 8:50:22 PM UTC-5, James Bardin wrote: > > > > On Thursday, August 31, 2017 at 9:46:11 PM UTC-4, burpswangy wrote: >> >> Wow, actually... that did work. I

Re: [go-nuts] go env GOPATH not reflecting $GOPATH

2017-08-31 Thread James Bardin
On Thursday, August 31, 2017 at 9:46:11 PM UTC-4, burpswangy wrote: > > Wow, actually... that did work. I was using 'set GOPATH' and not 'export > GOPATH'. I have GOPATH defined in my /etc/bash.bashrc... is there anywhere > else I should be putting it? > >> >>> You should be using a profile f

Re: [go-nuts] go env GOPATH not reflecting $GOPATH

2017-08-31 Thread burpswangy
Wow, actually... that did work. I was using 'set GOPATH' and not 'export GOPATH'. I have GOPATH defined in my /etc/bash.bashrc... is there anywhere else I should be putting it? On Thursday, August 31, 2017 at 8:44:33 PM UTC-5, burpswangy wrote: > > I did... to no avail. I'm so confused right

Re: [go-nuts] go env GOPATH not reflecting $GOPATH

2017-08-31 Thread burpswangy
I did... to no avail. I'm so confused right now, lol. I even su root and tried doing things under there, just in case it was something user-specific causing it. Nothing I do changes it. On Thursday, August 31, 2017 at 8:40:07 PM UTC-5, Ayan George wrote: > > > > On 08/31/2017 09:38 PM, burpsw

Re: [go-nuts] go env GOPATH not reflecting $GOPATH

2017-08-31 Thread Ayan George
On 08/31/2017 09:38 PM, burpswangy wrote: > Debian 9.1 Stretch... using Go 1.9, go env shows GOPATH=/home/dev/go > while echo $GOPATH=/home/dev/devSync/workspace. > > No matter what I do, I can't get Go 1.9 to find my workspace! What is > goin' on!? > have you tried: export GOPATH=/home/dev/

[go-nuts] go env GOPATH not reflecting $GOPATH

2017-08-31 Thread burpswangy
Debian 9.1 Stretch... using Go 1.9, go env shows GOPATH=/home/dev/go while echo $GOPATH=/home/dev/devSync/workspace. No matter what I do, I can't get Go 1.9 to find my workspace! What is goin' on!? -- You received this message because you are subscribed to the Google Groups "golang-nuts" gro