Reputation: 49
I am trying to use godef from emacs on OpenSUSE.
Tried to install godef with:
go get code.google.com/p/rog-go/exp/cmd/godef
Also tried: go install code.google.com/p/rog-go/exp/cmd/godef
My $GOROOT/bin
folder has {go, godoc, gofmt}
files, but no godef.
There are godef source files in $GOPATH/src/code.google.com/p/rog-go/exp/cmd/godef
Where and how do I get the godef executable?
Upvotes: 4
Views: 5118
Reputation: 4921
After running go install some.package
, the binary will be placed in $GOPATH/bin
Upvotes: 3