1. 安装 syntastic
2. 安装 golint
go get -u github.com/golang/lint/golint
3. 配置 syntastic
$ vim .vimrc
...
let g:syntastic_go_checkers = ['go', 'golint']
...
完成!
go get -u github.com/golang/lint/golint
$ vim .vimrc
...
let g:syntastic_go_checkers = ['go', 'golint']
...
完成!