The pit of the vscode go plugin installation

The installation of the go plugin failed, and many posts said that it was a problem with the fan.

However, after testing it is not, it is actually a BUG, ​​you can install it by following the steps below.

1. Create a folder GOPATH / src / golang.org / x / in GOPATH

2. cd into GOPATH / src / golang.org / x /

3. Execute the command git clone https://github.com/golang/tools.git

After completion, you can install the plug-in normally

Guess you like

Origin www.cnblogs.com/zhja/p/12718379.html