Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where to get godef binary?

Tags:

go

I'm trying to install godef binary using the command:

go get -v code.google.com/p/rog-go/exp/cmd/godef

However it keeps giving me error:

package code.google.com/p/rog-go/exp/cmd/godef: unable to detect version control system for code.google.com/ path

How do I install godef binary?

like image 414
Chao Sun Avatar asked Feb 15 '16 04:02

Chao Sun


1 Answers

The current source for godef is at https://github.com/rogpeppe/godef. Use the following command to install godef:

go get github.com/rogpeppe/godef
like image 53
Bayta Darell Avatar answered Oct 31 '22 21:10

Bayta Darell