You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
ianlancetaylor
changed the title
melpa go-guru incompatible with current 'go get' version
x/tools/cmd/guru: melpa go-guru incompatible with current 'go get' version
Jul 13, 2016
Most likely you have an old version of guru program that does not support JSON output. MELPA snapshot version of the go-guru.el is guaranteed to work only with the latest version of guru. Try running go get -u golang.org/x/tools/cmd/guru (note -u flag).
Please answer these questions before submitting your issue. Thanks!
go version
)?go version go1.6 darwin/amd64
go env
)?If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.
I first installed go guru via MELPA (version 20160712.622)
I then ran
go get golang.org/x/tools/cmd/guru
I opened a go file and tried to run
go-guru-definition
(C-x C-o j) to jump to the definition of a fileJump to the definition
flag provided but not defined: -json
My workaround was to remove the melpa-sourced version of guru using
rm -r ~/.emacs.d/elpa/go-guru*
and then put some nonsense in my.emacs
likeThe text was updated successfully, but these errors were encountered: