mirror of
https://github.com/OpenListTeam/OpenList.git
synced 2025-07-18 17:38:07 +08:00
build:Update old dependencies to new hosting (#495)
* build:Update old dependencies to new hosting
This commit is contained in:
@ -16,7 +16,7 @@ import (
|
||||
"github.com/OpenListTeam/OpenList/internal/stream"
|
||||
"github.com/OpenListTeam/OpenList/pkg/http_range"
|
||||
"github.com/OpenListTeam/OpenList/pkg/utils"
|
||||
sdk "github.com/xhofe/115-sdk-go"
|
||||
sdk "github.com/OpenListTeam/115-sdk-go"
|
||||
"golang.org/x/time/rate"
|
||||
)
|
||||
|
||||
|
@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/OpenListTeam/OpenList/internal/model"
|
||||
"github.com/OpenListTeam/OpenList/pkg/utils"
|
||||
sdk "github.com/xhofe/115-sdk-go"
|
||||
sdk "github.com/OpenListTeam/115-sdk-go"
|
||||
)
|
||||
|
||||
type Obj sdk.GetFilesResp_File
|
||||
|
@ -11,7 +11,7 @@ import (
|
||||
"github.com/OpenListTeam/OpenList/pkg/utils"
|
||||
"github.com/aliyun/aliyun-oss-go-sdk/oss"
|
||||
"github.com/avast/retry-go"
|
||||
sdk "github.com/xhofe/115-sdk-go"
|
||||
sdk "github.com/OpenListTeam/115-sdk-go"
|
||||
)
|
||||
|
||||
func calPartSize(fileSize int64) int64 {
|
||||
|
@ -13,7 +13,7 @@ import (
|
||||
"github.com/OpenListTeam/OpenList/internal/errs"
|
||||
"github.com/OpenListTeam/OpenList/internal/model"
|
||||
"github.com/OpenListTeam/OpenList/pkg/utils"
|
||||
"github.com/Xhofe/rateg"
|
||||
"github.com/OpenListTeam/rateg"
|
||||
"github.com/go-resty/resty/v2"
|
||||
log "github.com/sirupsen/logrus"
|
||||
)
|
||||
|
@ -12,7 +12,7 @@ import (
|
||||
"github.com/OpenListTeam/OpenList/internal/model"
|
||||
"github.com/OpenListTeam/OpenList/pkg/cron"
|
||||
"github.com/OpenListTeam/OpenList/pkg/utils"
|
||||
"github.com/Xhofe/rateg"
|
||||
"github.com/OpenListTeam/rateg"
|
||||
"github.com/go-resty/resty/v2"
|
||||
log "github.com/sirupsen/logrus"
|
||||
)
|
||||
|
@ -6,7 +6,7 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/OpenListTeam/OpenList/internal/driver"
|
||||
"github.com/Xhofe/go-cache"
|
||||
"github.com/OpenListTeam/go-cache"
|
||||
)
|
||||
|
||||
// storage upload progress, for upload recovery
|
||||
|
@ -10,7 +10,7 @@ import (
|
||||
"github.com/OpenListTeam/OpenList/internal/op"
|
||||
"github.com/OpenListTeam/OpenList/pkg/utils"
|
||||
"github.com/go-resty/resty/v2"
|
||||
"github.com/xhofe/wopan-sdk-go"
|
||||
"github.com/OpenListTeam/wopan-sdk-go"
|
||||
)
|
||||
|
||||
type Wopan struct {
|
||||
|
@ -2,7 +2,7 @@ package template
|
||||
|
||||
import (
|
||||
"github.com/OpenListTeam/OpenList/internal/model"
|
||||
"github.com/xhofe/wopan-sdk-go"
|
||||
"github.com/OpenListTeam/wopan-sdk-go"
|
||||
)
|
||||
|
||||
type Object struct {
|
||||
|
@ -3,7 +3,7 @@ package template
|
||||
import (
|
||||
"time"
|
||||
|
||||
"github.com/xhofe/wopan-sdk-go"
|
||||
"github.com/OpenListTeam/wopan-sdk-go"
|
||||
)
|
||||
|
||||
// do others that not defined in Driver interface
|
||||
|
Reference in New Issue
Block a user