From a7b29bc0fc16f36c964d59a659daba4d1b76527a Mon Sep 17 00:00:00 2001 From: wangchuxiao-dev Date: Tue, 15 Aug 2023 11:53:35 +0000 Subject: [PATCH] cicd: robot automated Change Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- pkg/common/db/cache/group.go | 3 ++- tools/component/main.go | 14 ++++++++------ 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/pkg/common/db/cache/group.go b/pkg/common/db/cache/group.go index 1a2a7d698..9ef5b8770 100644 --- a/pkg/common/db/cache/group.go +++ b/pkg/common/db/cache/group.go @@ -16,9 +16,10 @@ package cache import ( "context" - "github.com/OpenIMSDK/tools/log" "time" + "github.com/OpenIMSDK/tools/log" + "github.com/dtm-labs/rockscache" "github.com/redis/go-redis/v9" diff --git a/tools/component/main.go b/tools/component/main.go index bc60b8140..422afcbe1 100644 --- a/tools/component/main.go +++ b/tools/component/main.go @@ -4,7 +4,12 @@ import ( "context" "database/sql" "fmt" - "github.com/OpenIMSDK/Open-IM-Server/pkg/common/config" + "net" + "net/url" + "os" + "strings" + "time" + "github.com/OpenIMSDK/tools/errs" "github.com/OpenIMSDK/tools/utils" "github.com/Shopify/sarama" @@ -17,11 +22,8 @@ import ( "gopkg.in/yaml.v3" "gorm.io/driver/mysql" "gorm.io/gorm" - "net" - "net/url" - "os" - "strings" - "time" + + "github.com/OpenIMSDK/Open-IM-Server/pkg/common/config" "github.com/minio/minio-go/v7/pkg/credentials" )