问题描述:
从github上下载代表项目的时候,报module ***: Get “https://proxy.golang.org/***”: dial tcp 172.217.160.113:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
解决方案:
cmd进入dos界面,执行:go env -w GOPROXY=https://goproxy.cn
问题原因:
这是被我们伟大的长城防火墙给屏蔽了,你需要改成我们国内可用的代理地址,直接在命令行执行以上命令,然后再次尝试执行你的go命令试试看