Browse Source

常量移动到独立的common模块

gitlink
Sydonian 2 years ago
parent
commit
1794bbafc6
2 changed files with 4 additions and 1 deletions
  1. +3
    -0
      go.mod
  2. +1
    -1
      internal/task/check_rep_count_test.go

+ 3
- 0
go.mod View File

@@ -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

+ 1
- 1
internal/task/check_rep_count_test.go View File

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



Loading…
Cancel
Save