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" )