go get github.com/Shopify/sarama安装失败
我在window10系统上安装go get github.com/Shopify/sarama出现了以下问题。
unrecognized import path "golang.org/x/crypto/md4": https fetch: Get "https://golang.org/x/crypto/md4?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.
unrecognized import path "golang.org/x/crypto/pbkdf2": https fetch: Get "https://golang.org/x/crypto/pbkdf2?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.
试错过程中
go get -u github.com/gpmgo/gopm
gopm get github.com/Shopify/sarama
[GOPM] 04-29 05:54:53 [ERROR] github.com/Shopify/sarama: fail to make request: Get "https://gopm.io/api/v1/revision?pkgname=github.com/Shopify/sarama": dial tcp: lookup gopm.io: getaddrinfow: This is usually a temporary error during hostname resolution and means that the local server did not receive a response from an authoritative server.
安装gopm还是报错这个不知道咋回事
好吧最后尝试成功了
有疑问加站长微信联系(非本文作者)