Closed karlek closed 6 years ago
You should use https://github.com/mdempsky/gocode instead. nsf/gocode does not support go 1.10+. Please read README in nsf/gocode. https://github.com/nsf/gocode
Thank you, that was the problem.
If someone else has this problem, don't forget to kill your old gocode
daemon with gocode exit
(or pkill gocode
if necessary)
If anyone using go modules stumbles into this issue and is already using mdempsky/gocode, please notice that mdempsky version does not support modules. As suggested in the README, try using stamblerre/gocode.
Remember to stop the daemon with gocode close
, delete $GOPATH/bin/gocode
and replace it with the newer version from stamblerre go get -u github.com/stamblerre/gocode
This minimal config panicks everytime a key is pressed when writing in a go file.
There is very little information from the panic: