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"