build:Update old dependencies to new hosting (#495)

* build:Update old dependencies to new hosting
This commit is contained in:
Suyunjing
2025-06-30 21:26:42 +08:00
committed by GitHub
parent 3d13d5213b
commit 52c93f2046
34 changed files with 51 additions and 57 deletions

View File

@ -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"
)

View File

@ -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

View 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 {

View File

@ -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"
)

View File

@ -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"
)

View File

@ -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

View File

@ -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 {

View File

@ -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 {

View File

@ -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