切换代理服务器:
go env -w GOPROXY=https://goproxy.cn,direct
阿里云的镜像有时候超时,不稳定!坑die!
另外如果安装了多个go版本,在go get,go mod tidy时指定go的版本,根据go.mod 中版本来,否则可能出现依赖问题。