go github.comShopifysarama@v1.35.0 Get httpsproxy.golang.orggithub.com%21shopifysarama@vv1.35.0.mod EOF

BUG如下:

PS D:\Projects\flink_bytedance\word-count-master> go get github.com/segmentio/kafka-go
go: github.com/Shopify/sarama@v1.35.0: Get "https://proxy.golang.org/github.com/%21shopify/sarama/@v/v1.35.0.mod": EOF

解决方法:

换一个可以访问的代理地址

执行命令:

go env -w GOPROXY=https://goproxy.cn
posted @ 2022-08-12 11:08  递茶大户  阅读(145)  评论(0编辑  收藏  举报