Silly question, but is it exported?  You can easily check with the command:

env | grep GOPATH

-Paul
On Sep 11, 2018, at 9:30 AM, Sathish VJ 
<sathis...@gmail.com<mailto:sathis...@gmail.com>> wrote:

I saw this behavior with a couple of Mac machines today and I was unable to 
debug it.  Just checking to see if it is a known issue.

Macbook 1:
GOPATH is set to a known location (verified with echo $GOPATH) and it matches 
what is shown in "go env"
do "go get github.com/username/pkgname<http://github.com/username/pkgname>" on 
command line
the downloaded src and cmd are put in "~/go"

Macbook 2:
Same as above but "echo $GOPATH" and "go env" show different paths.

Has anybody else seen this issue?

--
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<mailto:golang-nuts+unsubscr...@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.

Reply via email to