From 1e84566adf425482a139124b1501aa96276dd0c3 Mon Sep 17 00:00:00 2001 From: Sydonian <794346190@qq.com> Date: Mon, 14 Aug 2023 15:46:49 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E5=91=BD=E5=90=8D=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E5=A4=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/config/config.go | 2 +- internal/services/bucket.go | 4 ++-- internal/services/command_service_ec.go | 4 ++-- internal/services/object.go | 4 ++-- internal/services/storage.go | 4 ++-- main.go | 4 ++-- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/internal/config/config.go b/internal/config/config.go index b37a970..245820b 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -1,7 +1,7 @@ package config import ( - log "gitlink.org.cn/cloudream/common/pkg/logger" + log "gitlink.org.cn/cloudream/common/pkgs/logger" c "gitlink.org.cn/cloudream/common/utils/config" db "gitlink.org.cn/cloudream/storage-common/pkgs/db/config" racfg "gitlink.org.cn/cloudream/storage-common/pkgs/mq/config" diff --git a/internal/services/bucket.go b/internal/services/bucket.go index 689fe49..83aeaa5 100644 --- a/internal/services/bucket.go +++ b/internal/services/bucket.go @@ -5,8 +5,8 @@ import ( "github.com/jmoiron/sqlx" "gitlink.org.cn/cloudream/common/consts/errorcode" - log "gitlink.org.cn/cloudream/common/pkg/logger" - "gitlink.org.cn/cloudream/common/pkg/mq" + log "gitlink.org.cn/cloudream/common/pkgs/logger" + "gitlink.org.cn/cloudream/common/pkgs/mq" "gitlink.org.cn/cloudream/storage-common/pkgs/db/model" coormsg "gitlink.org.cn/cloudream/storage-common/pkgs/mq/message/coordinator" ) diff --git a/internal/services/command_service_ec.go b/internal/services/command_service_ec.go index 59c5fba..49a9b82 100644 --- a/internal/services/command_service_ec.go +++ b/internal/services/command_service_ec.go @@ -6,8 +6,8 @@ import ( "github.com/jmoiron/sqlx" "gitlink.org.cn/cloudream/common/consts/errorcode" - "gitlink.org.cn/cloudream/common/pkg/logger" - "gitlink.org.cn/cloudream/common/pkg/mq" + "gitlink.org.cn/cloudream/common/pkgs/logger" + "gitlink.org.cn/cloudream/common/pkgs/mq" mymq "gitlink.org.cn/cloudream/storage-common/pkgs/mq/message" coormsg "gitlink.org.cn/cloudream/storage-common/pkgs/mq/message/coordinator" ) diff --git a/internal/services/object.go b/internal/services/object.go index 7b35e1e..810631f 100644 --- a/internal/services/object.go +++ b/internal/services/object.go @@ -8,8 +8,8 @@ import ( "github.com/samber/lo" "gitlink.org.cn/cloudream/common/consts/errorcode" "gitlink.org.cn/cloudream/common/models" - "gitlink.org.cn/cloudream/common/pkg/logger" - "gitlink.org.cn/cloudream/common/pkg/mq" + "gitlink.org.cn/cloudream/common/pkgs/logger" + "gitlink.org.cn/cloudream/common/pkgs/mq" "gitlink.org.cn/cloudream/storage-common/pkgs/db/model" mymq "gitlink.org.cn/cloudream/storage-common/pkgs/mq/message" coormsg "gitlink.org.cn/cloudream/storage-common/pkgs/mq/message/coordinator" diff --git a/internal/services/storage.go b/internal/services/storage.go index 47f274b..fffe18b 100644 --- a/internal/services/storage.go +++ b/internal/services/storage.go @@ -6,10 +6,10 @@ import ( "github.com/jmoiron/sqlx" "gitlink.org.cn/cloudream/common/consts/errorcode" "gitlink.org.cn/cloudream/common/models" - "gitlink.org.cn/cloudream/common/pkg/logger" + "gitlink.org.cn/cloudream/common/pkgs/logger" mymodels "gitlink.org.cn/cloudream/storage-common/models" - "gitlink.org.cn/cloudream/common/pkg/mq" + "gitlink.org.cn/cloudream/common/pkgs/mq" coormsg "gitlink.org.cn/cloudream/storage-common/pkgs/mq/message/coordinator" ) diff --git a/main.go b/main.go index b481c40..a284362 100644 --- a/main.go +++ b/main.go @@ -4,8 +4,8 @@ import ( "fmt" "os" - "gitlink.org.cn/cloudream/common/pkg/logger" - log "gitlink.org.cn/cloudream/common/pkg/logger" + "gitlink.org.cn/cloudream/common/pkgs/logger" + log "gitlink.org.cn/cloudream/common/pkgs/logger" mydb "gitlink.org.cn/cloudream/storage-common/pkgs/db" sccli "gitlink.org.cn/cloudream/storage-common/pkgs/mq/client/scanner" rasvr "gitlink.org.cn/cloudream/storage-common/pkgs/mq/server/coordinator"