使用vim写golang
1. dein安装插件: hardcoreplayers/go-nvim
2. 安装go-tools
# 下载源代码
git clone https://github.com/golang/tools.git
# 安装到$GOPATH/bin下,并将其加入PATH
cd tools && go mod tidy
go install golang.org/x/tools/cmd/guru
go install golang.org/x/tools/cmd/gorename
go install golang.org/x/tools/cmd/fiximports
go install golang.org/x/tools/cmd/godex
go install golang.org/x/tools/gopls