hello imports
rsc.io/quote: module rsc.io/quote: Get "https://proxy.golang.org/rsc.io/quote/@v/list": dial tcp [2404:6800:4012:3::2011]: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.
rsc.io/quote: module rsc.io/quote: Get "https://proxy.golang.org/rsc.io/quote/@v/list": dial tcp [2404:6800:4012:3::2011]: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.
出现上面报错的原因是因为当你执行命令的时候回去国外的仓库下载你需要的包,但是被防火墙拦截了,你只需要更换一下代理就可以.
在控制台上输入命令
go env -w GOPROXY=https://goproxy.cn