New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
godef-jump with named import #200
Comments
So the problem is here
https://github.com/dominikh/go-mode.el/blob/master/go-mode.el#L1470-L1481 This causes the If I run |
If I add the
Here's the similar command on the CLI (I've realised I can't test the
|
Seems to work for me on my machine. Steps to reproduce (or not):
Doing so takes me to the definition of |
Figured this out with some help from @jnschaeffer on go-nuts IRC, thanks so much! It was just that Emacs didn't have my GOPATH env var, added GOPATH to |
So with the above code from https://github.com/whyrusleeping/gx godef works fine
However go-mode.el is not finding the declaration of gx.PkgFileName or gx.GetPackageRoot. I suspect this is because it's not shaving off the "gx." maybe? I'm not sure.
The text was updated successfully, but these errors were encountered: