env setup
- create dir
GOPATH=~/Projects/goprojects
- edit .bash_profile
|
|
emac plugins tips
- copy
/usr/local/go/misc/emacs/go-mode-load.el
into emacs lisp dir, and make minor modification on your own personal setting - install mercurial, otherwise you cannot run hg command
go get code.google.com/p/rog-go/exp/cmd/godef
, then we can use godef function- follow steps with nsf/gocode