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:
(my $GOPATH is /home/josh/workspace/go)
I'm using the default importer (
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