本文准备整理下完整的 Golang 开发环境搭建,包括代码提示与补全。
需要的依赖包
windows下需要 call 命令,Linux 下移除。
call git clone https://github.com/acroca/go-symbols acroca/go-symbols
call go install github.com/acroca/go-symbols
call git clone https://github.com/fatih/gomodifytags fatih/gomodifytags
call go install github.com/fatih/gomodifytags
call git clone https://github.com/davidrjenni/reftools davidrjenni/reftools
call go install github.com/davidrjenni/reftools/cmd/fillstruct
call git clone https://github.com/godoctor/godoctor godoctor/godoctor
call go install github.com/godoctor/godoctor
call git clone https://github.com/josharian/impl josharian/impl
call go install github.com/josharian/impl
call git clone https://github.com/go-delve/delve go-delve/delve
call go install github.com/go-delve/delve/cmd/dlv
call git clone https://github.com/stamblerre/gocode stamblerre/gocode
call go install github.com/stamblerre/gocode
call git clone https://github.com/rogpeppe/godef rogpeppe/godef
call go install github.com/rogpeppe/godef
call git clone https://github.com/sqs/goreturns sqs/goreturns
call go install github.com/sqs/goreturns
call git clone https://github.com/golang/lint golang/lint
call go install go install github.com/golang/lint/golint