go get rsc.io/quote
报错提示请求网站超时
go: module rsc.io/quotego: Get "https://proxy.golang.org/rsc.io/quotego/@v/list": dial tcp 172.217.163.49:443: i/o timeout
解决方案:
go env -w GOPROXY=https://goproxy.cn
结果:
go mod tidy
go: finding module for package rsc.io/quote
go: downloading rsc.io/quote v1.5.2
go: found rsc.io/quote in rsc.io/quote v1.5.2
go: downloading rsc.io/sampler v1.3.0
go: downloading golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c