qiniu / api.v7

Qiniu SDK for Golang (v7.x)
MIT License
265 stars 108 forks source link

在项目中通过go module导入这个库,好像会报 github.com/qiniu/x/bytes.v7 找不到 #248

Closed keonjeo closed 3 years ago

keonjeo commented 4 years ago

go verison: go1.14.6 OS: ubuntu 16.04

➜  CloudStore git:(dev) ✗ go get -v 
go: downloading github.com/qiniu/api.v7 v7.0.0+incompatible
go: finding module for package qiniupkg.com/x/bytes.v7/seekable
go: finding module for package qiniupkg.com/api.v7/conf
go: finding module for package github.com/qiniu/api.v7/storage
go: downloading qiniupkg.com/api.v7 v7.2.5+incompatible
go: downloading qiniupkg.com/x v1.11.5
go: found github.com/qiniu/api.v7/storage in github.com/qiniu/api.v7 v7.2.5+incompatible
go: found qiniupkg.com/api.v7/conf in qiniupkg.com/api.v7 v7.2.5+incompatible
go: finding module for package github.com/qiniu/x/bytes.v7/seekable
go: finding module for package github.com/qiniu/x/bytes.v7
go: finding module for package github.com/qiniu/x/reqid.v7
go: finding module for package github.com/qiniu/x/xlog.v7
go: finding module for package github.com/qiniu/x/bytes.v7/seekable
go: finding module for package github.com/qiniu/x/reqid.v7
go: finding module for package github.com/qiniu/x/xlog.v7
go: finding module for package github.com/qiniu/x/bytes.v7
go: finding module for package github.com/qiniu/x/reqid.v7
go: finding module for package github.com/qiniu/x/xlog.v7
go: finding module for package github.com/qiniu/x/bytes.v7
go: finding module for package github.com/qiniu/x/bytes.v7/seekable
../../.gvm/pkgsets/go1.14.6/CloudStore/pkg/mod/github.com/qiniu/api.v7@v7.2.5+incompatible/storage/resume_base.go:13:2: module github.com/qiniu/x@latest found (v1.11.5), but does not contain package github.com/qiniu/x/bytes.v7
../../.gvm/pkgsets/go1.14.6/CloudStore/pkg/mod/github.com/qiniu/api.v7@v7.2.5+incompatible/auth/qbox/qbox_auth.go:12:2: module github.com/qiniu/x@latest found (v1.11.5), but does not contain package github.com/qiniu/x/bytes.v7/seekable
../../.gvm/pkgsets/go1.14.6/CloudStore/pkg/mod/github.com/qiniu/api.v7@v7.2.5+incompatible/storage/rpc.go:13:2: module github.com/qiniu/x@latest found (v1.11.5), but does not contain package github.com/qiniu/x/reqid.v7
../../.gvm/pkgsets/go1.14.6/CloudStore/pkg/mod/github.com/qiniu/api.v7@v7.2.5+incompatible/storage/resume_base.go:14:2: module github.com/qiniu/x@latest found (v1.11.5), but does not contain package github.com/qiniu/x/xlog.v7
obs.go:10:2: package obs is not in GOROOT (/home/keon/.gvm/gos/go1.14.6/src/obs)

大佬们,可以给我指点一下吗?

keonjeo commented 3 years ago

https://github.com/qiniu/api.v7/tree/v7.6.0

参照 v7.6.0已经支持go mod

image