-
Notifications
You must be signed in to change notification settings - Fork 659
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
GOCODE DOES NOT WORK WITH OR WITHOUT GOMODULES ENABLED #537
Comments
@p554157atch read the README again:
The majority of Go developers in the community switched to gopls more than a year ago. I suggest you to do the same. |
Spacemacs |
Last updated 4 years ago, |
You can try https://github.com/mdempsky/gocode if you don't need modules support, or https://github.com/stamblerre/gocode if you do. But long term, you should probably look into switching from company-mode to lsp-mode (with gopls), or ask spacemacs to look into this. |
@p554157atch the fact that you are using |
@cixtor Or, crazy idea, the go layer and the defaults could be fixed to have that configuration out of the box? Or at least the go layer documentation could be taken down as it is outrageously incorrect and out-of-date? |
This error shows up constantly all the time, tried to solved it for 10 hours but does not work:
go version go1.14.5 linux/amd64
Want to re-produce it yourself?
Just install Spacemaces from develop or master branch, your gocode won't give 1 correct suggestion for imported packages whether or not they are using gomodules.
The text was updated successfully, but these errors were encountered: