Hi All,

I'm trying to use the go/* packages to parse and type check Go source code. 
I've downloaded github.com/coreos/etcd to test this on, and I'm currently 
trying it out in the etcdserver subdirectory. When I run 'go build' 
everything works fine, but when I try to type check, none of the imports 
are found. For each import, I get an error like:

/home/josh/workspace/go/src/github.com/coreos/etcd/etcdserver/errors.go:21:10: 
could not import github.com/coreos/etcd/error (can't find import: 
github.com/coreos/etcd/error)

(my $GOPATH is /home/josh/workspace/go)

I'm using the default importer (importer.Default() 
<https://golang.org/pkg/go/importer/#Default>), and I compiled my tool with 
the gc compiler (I tried it for both go1.5 and go1.6).

Is there something obvious that I'm missing here?

Thanks!
Cheers,
Josh

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