VSCode下面搭配golang,很多工具都被擋住了,用下面的命令行其實很輕松的搞定
1 2 3 4 5 6 7 8 9 10 11 12 13 |
SET GO111MODULE=on SET GOPATH=%cd% SET GOPROXY=https://goproxy.cn,direct go get github.com/ramya-rao-a/go-outline go get github.com/uudashr/gopkgs/v2/cmd/gopkgs go get github.com/ramya-rao-a/go-outline go get github.com/cweill/gotests/... go get github.com/fatih/gomodifytags go get github.com/josharian/impl go get github.com/haya14busa/goplay/cmd/goplay go get github.com/go-delve/delve/cmd/dlv go get golang.org/x/lint/golint go get golang.org/x/tools/gopls |
其實就是用我們強大的golang module + proxy功能來下來。