github.com/envoyproxy/go-control-plane@v0.10.2-0.20220325020618-49ff273808a1: verifying go.mod: github.com/envoyproxy/go-control-plane@v0.10.2-0.20220325020618-49ff273808a1/go.mod: Get “https://sum.golang.org/lookup/github.com/envoyproxy/go-control-plane@v0.10.2-0.20220325020618-49ff273808a1”: dial tcp 142.251.42.241: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.
由于翻墙的缘故,sum.golang.org是访问不了的
执行指令
go env -w GOSUMDB=off
go env -w GOPROXY=https://goproxy.cn
再次执行下面指令,就可以解决
go mod tidy