Go VsCode installation of related plug-ins

  Today in learning Go, and install the relevant plug-Go, the display is not installed, but has been lower right corner you will be prompted to install, of course, you can set to ignore in order to develop efficient, I chose to install. Then there is a problem, it has Failed. In line to see a lot of articles, this is not a copy of that, is that this copy, do not know who wrote the original article, to solve the problem bad enough, but this will be a directory, and finally execute the command, it is a different directory , I might have just been in contact Go, so a thorough enough understanding to see that foggy, I feel like I could still suffer a small partner, so after I solved the problem, the next to share my experience, first of all first explain the environment.

I Win10 computer system

VsCode version

 

Go Version:  1.13.4

 

 

Small BB, is actually very simple, because there is a global module Go proxy, proxy settings go about installation can be carried out very smoothly. , To share the original site  https://goproxy.io/

Setting process is as follows, first of all Windows users open Powershell (Mac users can go to the website point of view, are very simple)

 

 

To facilitate replication, I'll knock again

$env:GO111MODULE="on"
$env:GOPROXY="https://goproxy.io"
go env -w GOPROXY=https://goproxy.io,direct
go env -w GOPRIVATE=*.corp.example.com

  

After this setup is complete, go VsCode interface, select Install ALL. Success can be installed

 

 Finally, there is only one dlv plugin is not installed successfully, the impact is not great, so I do not have to install, and the desire to help a friend in need.

 

 

Guess you like

Origin www.cnblogs.com/xll970105/p/11906899.html