Not accurate. 

$ cat ~/code/scratch/repro-underscore-issue.sh
echo "GOPATH: $GOPATH"
mkdir -p $GOPATH/src/github.com/testcase/testdata
echo "package testdata" > 
$GOPATH/src/github.com/testcase/testdata/testdata.go
echo "" >> $GOPATH/src/github.com/testcase/testdata/testdata.go
cd $GOPATH/src/github.com/testcase/testdata
echo "Running go list ./..."
go list ./...

$ ~/code/scratch/repro-underscore-issue.sh
GOPATH: /Users/prungta/code/gocode
Running go list ./...
_/Users/prungta/code/gocode/src/github.com/testcase/testdata


Should this be a bug report? 

On Wednesday, April 25, 2018 at 1:05:10 AM UTC-4, Dave Cheney wrote:
>
> If the path start with _ then it is not within the list of directories in 
> your GOPATH. 

-- 
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