gocode是go语言代码自动提示工具
安装时进入src目录执行:go get -u github.com/nsf/gocode
出现:
github.com/nsf/gocode (download)
github.com/nsf/gocode
go install github.com/nsf/gocode: open /usr/local/go/bin/gocode: permission denied
可以用sudo来执行或者手动创建目录sudo mkdir /usr/local/go/bin/gocode
记得用go build从新编译