• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

019-搭建Go开发环境之在VSCode中安装GO插件

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

1:配置环境变量

GO111MODULE=on

GOPATH=D:\gopath

GOPROXY=https://goproxy.io

 

2:查看环境变量信息

 

3:在VSCode中安装Go插件

 

4:在VSCode中安装Go依赖包

然后全选点击“OK”

 

安装过程

go.toolsGopath setting is not set. Using GOPATH D:\gopath

Installing 17 tools at D:\gopath\bin in module mode.

  gocode

  gopkgs

  go-outline

  go-symbols

  guru

  gorename

  gotests

  gomodifytags

  impl

  fillstruct

  goplay

  godoctor

  dlv

  gocode-gomod

  godef

  goreturns

  golint

 

Installing github.com/mdempsky/gocode SUCCEEDED

Installing github.com/uudashr/gopkgs/v2/cmd/gopkgs SUCCEEDED

Installing github.com/ramya-rao-a/go-outline SUCCEEDED

Installing github.com/acroca/go-symbols SUCCEEDED

Installing golang.org/x/tools/cmd/guru SUCCEEDED

Installing golang.org/x/tools/cmd/gorename SUCCEEDED

Installing github.com/cweill/gotests/... SUCCEEDED

Installing github.com/fatih/gomodifytags SUCCEEDED

Installing github.com/josharian/impl SUCCEEDED

Installing github.com/davidrjenni/reftools/cmd/fillstruct SUCCEEDED

Installing github.com/haya14busa/goplay/cmd/goplay SUCCEEDED

Installing github.com/godoctor/godoctor SUCCEEDED

Installing github.com/go-delve/delve/cmd/dlv SUCCEEDED

Installing github.com/stamblerre/gocode SUCCEEDED

Installing github.com/rogpeppe/godef SUCCEEDED

Installing github.com/sqs/goreturns SUCCEEDED

Installing golang.org/x/lint/golint SUCCEEDED

 

All tools successfully installed. You are ready to Go :).

 


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
我是如何用go-zero 实现一个中台系统的发布时间:2022-07-10
下一篇:
go语言MQTT服务器(五)MQTT服务器集群发布时间:2022-07-10
热门推荐
热门话题
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap