go: x/tools/cmd/guru: describe: objects defined in cgo files are not found
golang guru/GoDef cannot find non-golang package documentation that is in the GOPATH.
Please answer these questions before submitting your issue. Thanks!
-
What version of Go are you using (
go version)?go version go1.6.1 linux/386 -
What operating system and processor architecture are you using (
go env)?GOARCH="386" GOBIN="" GOEXE="" GOHOSTARCH="386" GOHOSTOS="linux" GOOS="linux" GOPATH="/home/erik/go:/opt/erik/dev/g/go:/opt/erik/dev/p/go" GORACE="" GOROOT="/usr/lib/go" GOTOOLDIR="/usr/lib/go/pkg/tool/linux_386" GO15VENDOREXPERIMENT="1" CC="gcc" GOGCCFLAGS="-fPIC -m32 -pthread -fmessage-length=0" CXX="g++" CGO_ENABLED="1" -
What did you do? I filed an issue with vim-go. (https://github.com/fatih/vim-go/issues/851#issuecomment-219248856). The vim-go author believes the problem is with golang guru. Please see the issue for the repeatable problem.
-
What did you expect to see?
Please see the issue above.
- What did you see instead?
Please see the issue above.
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Reactions: 2
- Comments: 17 (5 by maintainers)
Commits related to this issue
- cmd/guru: support cgo The logic in guru for collecting files for the definition and describe modes had expressly avoided go files that included the import "C" statement (known as cgo files) by settin... — committed to FrankReh/tools by FrankReh 6 years ago
- guru: support cgo The logic in guru for collecting files for the definition and describe modes had expressly avoided go files that included the import "C" statement (known as cgo files) by setting Cg... — committed to zchee/golang-tools by FrankReh 7 years ago
- guru: support cgo The logic in guru for collecting files for the definition and describe modes had expressly avoided go files that included the import "C" statement (known as cgo files) by setting Cg... — committed to zchee/golang-tools by FrankReh 7 years ago
Thank you. Guru works great for packages under vendor that do not import “C.”