golang vscode工具初始化

本文介绍了多个Go语言开发中常用的工具及安装方法,并提供了如何使用goget命令获取这些工具的具体步骤。此外还展示了如何通过git clone命令安装golang/x项目下的多个子项目。
go get -u github.com/derekparker/delve/cmd/dlv
go get -u github.com/rogpeppe/godef
go get -u github.com/golang/lint/golint
go get -u github.com/lukehoban/go-find-references
go get -u github.com/nsf/gocode
go get -u github.com/lukehoban/go-outline
go get -u golang.org/x/tools/cmd/gorename
go get -u github.com/tpng/gopkgs
go get -u github.com/newhook/go-symbols
go get -u github.com/kardianos/govendor
go get -u github.com/fatih/gomodifytags
go get -u github.com/josharian/impl
go get -u github.com/golang/lint/golint
go get -u github.com/cweill/gotests/...

go get -u sourcegraph.com/sqs/goreturns
go install sourcegraph.com/sqs/goreturns

cd $GOPATH
mkdir -p $GOPATH/src/golang.org/x
cd $GOPATH/src/golang.org/x
git clone https://github.com/golang/crypto.git
git clone https://github.com/golang/debug.git
git clone https://github.com/golang/exp.git
git clone https://github.com/golang/image.git
git clone https://github.com/golang/mobile.git
git clone https://github.com/golang/net.git
git clone https://github.com/golang/perf.git
git clone https://github.com/golang/playground.git
git clone https://github.com/golang/review.git
git clone https://github.com/golang/sync.git
git clone https://github.com/golang/sys.git
git clone https://github.com/golang/text.git
git clone https://github.com/golang/time.git
git clone https://github.com/golang/tools.git
git clone https://github.com/golang/tour.git

go get golang.org/x/tools/cmd/...

 

转载于:https://my.oschina.net/u/659405/blog/1491774

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值