VsCode安装Go语言开发环境

博客提供了第四步的bin文件下载链接,链接为https://download.youkuaiyun.com/download/lsjsoft/11192237 。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

一、将以下代码另存为BAT并执行(确保Windows系统、并有E盘)

mkdir e:\download\github.com\mdempsky
cd e:\download\github.com\mdempsky/
git clone https://github.com/mdempsky/gocode

mkdir e:\download\github.com\ramya-rao-a
cd e:\download\github.com\ramya-rao-a
git clone https://github.com/ramya-rao-a/go-outline

mkdir e:\download\github.com\acroca
cd e:\download\github.com\acroca
git clone https://github.com/acroca/go-symbols

mkdir e:\download\github.com\stamblerre
cd e:\download\github.com\stamblerre
git clone https://github.com/stamblerre/gocode

mkdir e:\download\github.com\ianthehat
cd e:\download\github.com\ianthehat
git clone https://github.com/ianthehat/godef

mkdir e:\download\github.com\sqs
cd e:\download\github.com\sqs
git clone https://github.com/sqs/goreturns

mkdir e:\download\golang.org\x
cd e:\download\golang.org\x
git clone https://github.com/golang/tools.git tools
git clone https://github.com/golang/lint


第二步:将download中的github.com和golang.org目录拷到 %GOPATH%\src目录中


第三步:将以下代码另存为BAT,并在%GOPATH%目录下执行
go install github.com/mdempsky/gocode
go install github.com/ramya-rao-a/go-outline
go install github.com/acroca/go-symbols
go install golang.org/x/tools/cmd/guru
go install golang.org/x/tools/cmd/gorename
go install github.com/stamblerre/gocode
go install github.com/ianthehat/godef
go install github.com/sqs/goreturns
go install golang.org/x/lint/golint

第四步:将vscode的bin插件拷到%GOPATH%bin目录中

 第四步的bin文件,请到此下载

https://download.youkuaiyun.com/download/lsjsoft/11192237

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值