Godef can't find decalrations under `net` package #18

Open
jostyee opened this Issue Jun 1, 2016 · 1 comment

Projects

None yet

2 participants

@jostyee
jostyee commented Jun 1, 2016
=================[Godef]Begin=================
[Godef]INFO: using godef: /Users/me/go/bin/godef
[Godef]INFO: selcet_begin: 834 offset: 834
[Godef]INFO: spawning: /Users/me/go/bin/godef -f /Users/me/go/src/snippets/playground.go -o 834
[Godef]ERROR: no definition found: b'godef: no declaration found for net.ResolveUDPAddr\n'
=================[Godef] End =================

but working for fmt

=================[Godef]Begin=================
[Godef]INFO: using godef: /Users/me/go/bin/godef
[Godef]INFO: selcet_begin: 822 offset: 822
[Godef]INFO: spawning: /Users/me/go/bin/godef -f /Users/me/go/src/snippets/playground.go -o 822
[Godef]INFO: godef output: b'/usr/local/opt/go/libexec/src/fmt/print.go:263:6\n'
[Godef]INFO: opening definition at /usr/local/opt/go/libexec/src/fmt/print.go:263:6
=================[Godef] End =================
@buaazp
Owner
buaazp commented Oct 10, 2016 edited

I found the godef issue when "C" package in codes:

rogpeppe/godef#41

And this PR works fine for me. Have a try:

rogpeppe/godef#44

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment