echo安装失败,提示unrecognized import path "golang.org/x
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 (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |