当前位置:网站首页>Vs Code configures go locale and successfully installs go related plug-ins in vscode problem: Tools failed to install
Vs Code configures go locale and successfully installs go related plug-ins in vscode problem: Tools failed to install
2022-07-26 10:01:00 【Coexistence source of beauty and strength】
VS Code To configure Go Language environment
Installation learning premise

Download and install VSCode
Download path :https://code.visualstudio.com/Download
download GO Language environment installation package
Download path :https://golang.google.cn/dl/
agent (Goproxy.io)
route :https://goproxy.io/zh/
![[ Failed to transfer the external chain picture , The origin station may have anti-theft chain mechanism , It is suggested to save the pictures and upload them directly (img-d15WETrw-1649817553101)(uniapp Basic knowledge of .assets/image-20220402122247347.png)]](/img/ae/043803df46071ef77093f044885f89.png)
![[ Failed to transfer the external chain picture , The origin station may have anti-theft chain mechanism , It is suggested to save the pictures and upload them directly (img-FCPbrBtw-1649817553102)(uniapp Basic knowledge of .assets/image-20220402122326441.png)]](/img/02/6eb7741963b878c2f1e7521f77bfed.png)
![[ Failed to transfer the external chain picture , The origin station may have anti-theft chain mechanism , It is suggested to save the pictures and upload them directly (img-U2jnYGuW-1649817553102)(uniapp Basic knowledge of .assets/image-20220402122348456.png)]](/img/3f/b13bce216eada6c252725ec9d3ab44.png)
![[ Failed to transfer the external chain picture , The origin station may have anti-theft chain mechanism , It is suggested to save the pictures and upload them directly (img-HUQcfX9U-1649817553102)(uniapp Basic knowledge of .assets/image-20220402122422375.png)]](/img/94/d6f907caf75d9319987696f955fcc6.png)
VsCode plug-in unit
Code Runner
![[ Failed to transfer the external chain picture , The origin station may have anti-theft chain mechanism , It is suggested to save the pictures and upload them directly (img-Y89674L2-1649817553103)(uniapp Basic knowledge of .assets/image-20220402121814077.png)]](/img/7b/a90704db003484a5296747f250177e.png)
GO
![[ Failed to transfer the external chain picture , The origin station may have anti-theft chain mechanism , It is suggested to save the pictures and upload them directly (img-CYLyEFlO-1649817553103)(uniapp Basic knowledge of .assets/image-20220402121652614.png)]](/img/d7/f6429b2584982ed88d053cc053add7.png)
first GO Program
Hello World
Now let's create the first Go project ——hello. In our GOPATH Under the src Create... In the directory hello Catalog .
Create a... In this directory main.go file :
![[ Failed to transfer the external chain picture , The origin station may have anti-theft chain mechanism , It is suggested to save the pictures and upload them directly (img-T6Xv4Pyb-1649817553103)(uniapp Basic knowledge of .assets/image-20220402121714999.png)]](/img/18/04da8d49bef083efdfd7684497aefc.png)
stay VSCode Successfully installed in Go Related plug-in issues :tools failed to install.
![[ Failed to transfer the external chain picture , The origin station may have anti-theft chain mechanism , It is suggested to save the pictures and upload them directly (img-ShFrLKHS-1649817553104)(uniapp Basic knowledge of .assets/image-20220402121957443.png)]](/img/9c/1707f202918bd4c02a89c47ea31fef.png)
resolvent
Perform the following command to switch directories : cd %GOPATH%\src\github.com\golang I am here. GOPATH Is in D:\go_project If src There's no github.com\golang Please create your own
After directory switching , Start downloading plug-in package : git clone https://github.com/golang/tools.git tools
Copy manually , Directly download your tools Copy all files in the directory to %GOPATH%\src\golang.org\x\tools Under the table of contents
![[ Failed to transfer the external chain picture , The origin station may have anti-theft chain mechanism , It is suggested to save the pictures and upload them directly (img-hnA2v9iQ-1649817553104)(uniapp Basic knowledge of .assets/image-20220402122030795.png)]](/img/bc/d6adb0a893b664fdb53bf62d3f2db3.png)
![[ Failed to transfer the external chain picture , The origin station may have anti-theft chain mechanism , It is suggested to save the pictures and upload them directly (img-0d8UxkA3-1649817553104)(uniapp Basic knowledge of .assets/image-20220402122049561.png)]](/img/19/f799a22d3ef283df212c12443f2232.png)
The switching terminal executes the following commands
Manual installation :
If not, install the plug-ins that failed to download
Now install the plug-ins that cannot be installed Start installation : Switch to GOPATH Under the table of contents , Execution related go install command
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/josharian/impl
go install github.com/rogpeppe/godef
go install github.com/sqs/goreturns
go install github.com/golang/lint/golint
go install github.com/cweill/gotests/gotests
边栏推荐
- JS one line code to obtain the maximum and minimum values of the array
- The combination of officially issued SSL certificate and self signed certificate realizes website two-way authentication
- Due to fierce competition in the new market, China Mobile was forced to launch a restrictive ultra-low price 5g package
- [datawhale] [machine learning] Diabetes genetic risk detection challenge
- Study notes of the second week of sophomore year
- 【有奖提问】向图灵奖得主、贝叶斯网络之父 Judea Pearl 提问啦
- What is the principle of reflection mechanism?
- SSG framework Gatsby accesses the database and displays it on the page
- 挡不住了,纯国产PC已就位,美国的软硬件体系垄断正式被破
- JS continuous assignment operation
猜你喜欢

Spolicy request case

2021年山东省中职组“网络空间安全”B模块windows渗透(解析)

Sqoop【环境搭建 01】CentOS Linux release 7.5 安装配置 sqoop-1.4.7 解决警告并验证(附Sqoop1+Sqoop2最新版安装包+MySQL驱动包资源)

Gauss elimination solves the inverse of matrix (Gauss)

Unstoppable, pure domestic PCs have been in place, and the monopoly of the U.S. software and hardware system has been officially broken

苹果独占鳌头,三星大举复兴,国产手机在高端市场颗粒无收

Matlab Simulink realizes fuzzy PID control of time-delay temperature control system of central air conditioning

spolicy请求案例

Gauss elimination

阿里云技术专家郝晨栋:云上可观测能力——问题的发现与定位实践
随机推荐
Nodejs service background execution (forever)
Vs2019 configuring opencv
[information system project manager] summary of essence of high-level series for the first time
Server memory failure prediction can actually do this!
A new paradigm of distributed deep learning programming: Global tensor
Getting started with SQL - combined tables
Keeping alive to realize MySQL automatic failover
Alibaba cloud technology expert haochendong: cloud observability - problem discovery and positioning practice
分布式网络通信框架:本地服务怎么发布成RPC服务
PMM (percona monitoring and management) installation record
Mo team learning summary (II)
新增市场竞争激烈,中国移动被迫推出限制性超低价5G套餐
服务器内存故障预测居然可以这样做!
Wechat applet development
PHP executes shell script
protobuf的基本用法
【荧光字效果】
Uniapp "no mobile phone or simulator detected, please try again later" and uniapp custom components and communication
Draw arrows with openlayer
Mo team learning notes (I)