Skip to content
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: could not parse GOARCH and Go compiler #119

Closed
guidao opened this issue Nov 8, 2019 · 2 comments
Closed

godef: could not parse GOARCH and Go compiler #119

guidao opened this issue Nov 8, 2019 · 2 comments

Comments

@guidao
Copy link

guidao commented Nov 8, 2019

When GO111MODULE=on, i can't goto definition in consul sdk.

error message:
godef: could not parse GOARCH and Go compiler in format "<GOARCH> <compiler>" from stdout of go command:

Dependent libraries:

@jiacai2050
Copy link

It seems godef isn't compatible with modules, I migrate to gopls and everything is fine but have a similar issue

@guidao
Copy link
Author

guidao commented Nov 15, 2019

I use lsp-find-definition instead of godef. It's work.

@guidao guidao closed this as completed Nov 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants