Skip to content

Commit

Permalink
replace qiniu/api.v7 to qiniu/go-sdk/v7
Browse files Browse the repository at this point in the history
  • Loading branch information
wangsongyan committed Oct 29, 2024
1 parent 8f839ef commit 39f4148
Show file tree
Hide file tree
Showing 4 changed files with 76 additions and 22 deletions.
4 changes: 2 additions & 2 deletions controllers/backup.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import (
"github.com/cihub/seelog"
"github.com/gin-gonic/gin"
"github.com/pkg/errors"
"github.com/qiniu/api.v7/auth/qbox"
"github.com/qiniu/api.v7/storage"
"github.com/qiniu/go-sdk/v7/auth/qbox"
"github.com/qiniu/go-sdk/v7/storage"
"github.com/wangsongyan/wblog/helpers"
"github.com/wangsongyan/wblog/system"
)
Expand Down
4 changes: 2 additions & 2 deletions controllers/uploader_qiniu.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"mime/multipart"
"os"

"github.com/qiniu/api.v7/auth/qbox"
"github.com/qiniu/api.v7/storage"
"github.com/qiniu/go-sdk/v7/auth/qbox"
"github.com/qiniu/go-sdk/v7/storage"
"github.com/wangsongyan/wblog/system"
)

Expand Down
7 changes: 2 additions & 5 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,12 @@ require (
github.com/go-yaml/yaml v2.1.0+incompatible
github.com/gorilla/feeds v1.1.1
github.com/jinzhu/gorm v1.9.8
github.com/kr/pretty v0.1.0 // indirect
github.com/mattn/go-isatty v0.0.8 // indirect
github.com/mattn/go-sqlite3 v1.10.0
github.com/microcosm-cc/bluemonday v1.0.2
github.com/pkg/errors v0.8.0
github.com/qiniu/api.v7 v7.2.5+incompatible
github.com/qiniu/x v7.0.8+incompatible // indirect
github.com/pkg/errors v0.8.1
github.com/qiniu/go-sdk/v7 v7.25.0
github.com/russross/blackfriday v1.5.2
github.com/snluu/uuid v0.0.0-20130306162636-1dd34a9ad6c0
github.com/ugorji/go v1.1.5-pre // indirect
qiniupkg.com/x v7.0.8+incompatible // indirect
)
Loading

0 comments on commit 39f4148

Please sign in to comment.