老师,报错。。没查到相关资料
来源:8-6 编码实战:OSS上传文件

Zoom0
2019-04-19
filestore-server go run main.go
…/github.com/aliyun/aliyun-oss-go-sdk/oss/limit_reader_1_7.go:11:2: cannot find package “golang.org/x/time/rate” in any of:
/usr/local/go/src/golang.org/x/time/rate (from $GOROOT)
/Users/zhangyue/go/src/golang.org/x/time/rate (from $GOPATH)
2回答
-
应该是golang.org这个域名被屏蔽了.
可以参考下在git仓库里README上的说明哦:
https://git.imooc.com/coding-323/filestore-server
或者试试这篇文章:
https://yq.aliyun.com/articles/292301?spm=5176.10695662.1996646101.searchclickresult.6155183eCmXHbQ042019-04-19 -
Zoom0
提问者
2019-04-19
试图去 go get
➜ ~ go get golang.org/x/time/rate
package golang.org/x/time/rate: unrecognized import path "golang.org/x/time/rate" (https fetch: Get https://golang.org/x/time/rate?go-get=1: net/http: TLS handshake timeout)
022019-04-19
相似问题