echo安装失败,提示unrecognized import path "golang.org/x/crypto/acme/autocert"?

echo安装失败,提示unrecognized import path "golang.org/x/crypto/acme/autocert"?git

 

C:\Users\HOORI>go get github.com/labstack/echogithub

package golang.org/x/crypto/acme/autocert: unrecognized import path "golang.org/x/crypto/acme/autocert" (https fetch: Get https://golang.org/x/crypto/acme/autocert?go-get=1: dial tcp 216.239.37.1: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.)golang

 

https://github.com/golang/crypto下载crypto-master.zip文件,go安装目录在C:\go ,建立文件夹C:\Go\src\golang.org\x ,在把crypto-master.zip文件复制到x目录下,解压crypto-master.zip,把解压后的文件夹从新命名为crypto。tcp

 

在从新执行命令: go get github.com/labstack/echofetch

相关文章
相关标签/搜索