加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 大数据 > 正文

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

发布时间:2020-12-16 09:32:03 所属栏目:大数据 来源:网络整理
导读:echo安装失败,提示unrecognized import path "golang.org/x/crypto/acme/autocert"? ? C:UsersHOORIgo get github.com/labstack/echo package golang.org/x/crypto/acme/autocert: unrecognized import path "golang.org/x/crypto/acme/autocert" (https

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

?

C:UsersHOORI>go get github.com/labstack/echo

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.)

?

https://github.com/golang/crypto下载crypto-master.zip文件,go安装目录在C:go ,创建文件夹C:Gosrcgolang.orgx ,在把crypto-master.zip文件复制到x目录下,解压crypto-master.zip,把解压后的文件夹重新命名为crypto。

?

在重新执行命令: go get github.com/labstack/echo

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读