GoLang study notes | solve the problem vscode installed go tools and golint failure | Baidu Cloud Link

--- --- restore content begins

Recent self Golang

Use vscode

Hereby record 

1. Install bash

Computers with git, git comes with a bash, so long as the bash.exe configuration environment path inside: hit the bin directory can be. % GITHOME% \ bin

2. Install the plug-in

Since golang.org by walls, using the pull mode from the distal end github

git clone https://github.com/golang/tools.git
git clone https://github.com/golang/lint.git

 

Pull, I found the first giant very slow, failed several times: Note the following: In the next, to cool it.

error: RPC failed; curl 18 transfer closed with outstanding read data remaining

fatal: The remote end hung up unexpectedly

fatal: early EOF

fatal: index-pack failed

The pulling is changed https ssh:

git clone git://github.com/golang/tools.git

At the same time, pulling git changed parameters, by definition:

git config --global http.lowSpeedLimit 0                //
git config --global http.lowSpeedTime 999999 // git config --global http.postBuffer 524288000 //500M

And then finally pulling a success:

Go install using to install

Follow the prompts before reported vscode the installation fails, the installation

 

 Premise installation, the pit is to have given this file:

 

 In short, anyway, I do not report the vscode 

command is not available, install, install all what the

 

 

 Saying, go build run much faster than direct go, visually visible.

 

Finally, attach the Baidu cloud links (Ahem, for academic use only, not for commercial purposes ^ _ ^):

tools: https: //pan.baidu.com/s/1nSEOcIqFusrdL4VmhMa7iA extraction code: 5r3y

lint: https://pan.baidu.com/s/1ZsJAKN4WWdeajQhOlGLfqg extraction code: zg5d

 

As a rookie switch programmer, he said he was hard, and if the university is this professional enough. Come on! ! !

Out to mix is ​​not easy, said: interviewer critical moment, hoping to show some mercy, forgive and forget. Who can not the future of the young?

 

 

 

(Just off computer, automatic backup and restore Park blog, praise!)

 

 

Three decades east, west three years. Come on!

                         When the first cold autumn rain thirteen white mountain autumn

 

 

 

 

 

 

 

--- end --- restore content

Guess you like

Origin www.cnblogs.com/shiyuzhahan/p/11488608.html