vscode配置go环境
在cmd中输入命令:
go env -w GOPROXY="https://goproxy.cn"
重新打开vscode,弹出安装提示的时候点击Install All继续安装即可。
如果没有提示,可以按Ctrl+Shift+P,输入Go,选择Go:Install/Update Tools

选中所有,点击OK

安装成功

go env -w GOPROXY="https://goproxy.cn"
重新打开vscode,弹出安装提示的时候点击Install All继续安装即可。
如果没有提示,可以按Ctrl+Shift+P,输入Go,选择Go:Install/Update Tools

选中所有,点击OK

安装成功
