replace v8 2 v9

This commit is contained in:
wangchuxiao
2023-06-15 18:25:13 +08:00
parent 22e0df5c11
commit 2d09096317
17 changed files with 21 additions and 20 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ import (
relationTb "github.com/OpenIMSDK/Open-IM-Server/pkg/common/db/table/relation"
"github.com/dtm-labs/rockscache"
"github.com/go-redis/redis/v8"
"github.com/redis/go-redis/v9"
)
const (
+1 -1
View File
@@ -11,7 +11,7 @@ import (
relationTb "github.com/OpenIMSDK/Open-IM-Server/pkg/common/db/table/relation"
"github.com/OpenIMSDK/Open-IM-Server/pkg/utils"
"github.com/dtm-labs/rockscache"
"github.com/go-redis/redis/v8"
"github.com/redis/go-redis/v9"
)
const (
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/db/table/unrelation"
"github.com/dtm-labs/rockscache"
"github.com/go-redis/redis/v8"
"github.com/redis/go-redis/v9"
)
const (
+1 -1
View File
@@ -7,7 +7,7 @@ import (
relationTb "github.com/OpenIMSDK/Open-IM-Server/pkg/common/db/table/relation"
"github.com/OpenIMSDK/Open-IM-Server/pkg/utils"
"github.com/dtm-labs/rockscache"
"github.com/go-redis/redis/v8"
"github.com/redis/go-redis/v9"
)
const (
+1 -1
View File
@@ -10,7 +10,7 @@ import (
unrelationTb "github.com/OpenIMSDK/Open-IM-Server/pkg/common/db/table/unrelation"
"github.com/OpenIMSDK/Open-IM-Server/pkg/utils"
"github.com/dtm-labs/rockscache"
"github.com/go-redis/redis/v8"
"github.com/redis/go-redis/v9"
)
const (
+1 -1
View File
@@ -8,7 +8,7 @@ import (
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/config"
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/mw/specialerror"
"github.com/OpenIMSDK/Open-IM-Server/pkg/errs"
"github.com/go-redis/redis/v8"
"github.com/redis/go-redis/v9"
)
func NewRedis() (redis.UniversalClient, error) {
+1 -1
View File
@@ -19,7 +19,7 @@ import (
"google.golang.org/protobuf/proto"
"github.com/go-redis/redis/v8"
"github.com/redis/go-redis/v9"
)
const (
+1 -1
View File
@@ -6,7 +6,7 @@ import (
relationTb "github.com/OpenIMSDK/Open-IM-Server/pkg/common/db/table/relation"
"github.com/dtm-labs/rockscache"
"github.com/go-redis/redis/v8"
"github.com/redis/go-redis/v9"
)
const (
+1 -1
View File
@@ -13,7 +13,7 @@ import (
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/db/unrelation"
"github.com/OpenIMSDK/Open-IM-Server/pkg/utils"
"github.com/dtm-labs/rockscache"
"github.com/go-redis/redis/v8"
"github.com/redis/go-redis/v9"
"go.mongodb.org/mongo-driver/mongo"
"gorm.io/gorm"
)
+1 -1
View File
@@ -20,7 +20,7 @@ import (
pbMsg "github.com/OpenIMSDK/Open-IM-Server/pkg/proto/msg"
"github.com/OpenIMSDK/Open-IM-Server/pkg/proto/sdkws"
"github.com/OpenIMSDK/Open-IM-Server/pkg/utils"
"github.com/go-redis/redis/v8"
"github.com/redis/go-redis/v9"
"go.mongodb.org/mongo-driver/mongo"
)