From 1794bbafc65d7e74f0adf46b97cd15f928c216c4 Mon Sep 17 00:00:00 2001 From: Sydonian <794346190@qq.com> Date: Fri, 19 May 2023 10:53:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B8=B8=E9=87=8F=E7=A7=BB=E5=8A=A8=E5=88=B0?= =?UTF-8?q?=E7=8B=AC=E7=AB=8B=E7=9A=84common=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- go.mod | 3 +++ internal/task/check_rep_count_test.go | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 1bf8e96..de162ba 100644 --- a/go.mod +++ b/go.mod @@ -6,6 +6,7 @@ require ( github.com/jmoiron/sqlx v1.3.5 github.com/samber/lo v1.38.1 github.com/smartystreets/goconvey v1.8.0 + gitlink.org.cn/cloudream/common v0.0.0 gitlink.org.cn/cloudream/db v0.0.0 gitlink.org.cn/cloudream/rabbitmq v0.0.0 gitlink.org.cn/cloudream/utils v0.0.0 @@ -38,3 +39,5 @@ require ( // replace gitlink.org.cn/cloudream/utils => ../utils // // replace gitlink.org.cn/cloudream/db => ../db +// +// replace gitlink.org.cn/cloudream/common => ../common diff --git a/internal/task/check_rep_count_test.go b/internal/task/check_rep_count_test.go index 3854171..cb81aa7 100644 --- a/internal/task/check_rep_count_test.go +++ b/internal/task/check_rep_count_test.go @@ -5,8 +5,8 @@ import ( "github.com/samber/lo" . "github.com/smartystreets/goconvey/convey" + "gitlink.org.cn/cloudream/common/consts" "gitlink.org.cn/cloudream/db/model" - "gitlink.org.cn/cloudream/utils/consts" "gitlink.org.cn/cloudream/utils/sort" )