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

相關文章
相關標籤/搜索