go get 安装时报 (https fetch: Get https://golang.org/x/crypto/acme/autocert?go-get=1: dial tcp 220.255.2.153:443: i/o timeout)

http://blog.csdn.net/qq849635649/article/details/56017559

大概是因为无法访问到这个地址的原因

解决办法

到github上 https://github.com/golang/crypto 下载 zip文件, 移动到 $GOROOT/src/golang.org/x/

2  用git方式下载文件,这样似乎不容易出错

获取 golang.org/x/net 包,其实只需要以下步骤:

mkdir -p $GOPATH/src/golang.org/x
cd $GOPATH/src/golang.org/x
git clone https://github.com/golang/net.git
原文地址:https://www.cnblogs.com/yeyong/p/7488764.html