-
Notifications
You must be signed in to change notification settings - Fork 0
/
arch-go.yml
56 lines (50 loc) · 1.8 KB
/
arch-go.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
version: 1
threshold:
compliance: 100
coverage: 0
dependenciesRules:
- package: "github.com/averak/hbaas/app/adapter.**"
shouldOnlyDependsOn:
internal:
- "github.com/averak/hbaas/app/adapter"
- "github.com/averak/hbaas/app/core"
- "github.com/averak/hbaas/app/domain"
- "github.com/averak/hbaas/app/infrastructure"
- "github.com/averak/hbaas/app/usecase"
- "github.com/averak/hbaas/pkg"
- "github.com/averak/hbaas/protobuf"
- "github.com/averak/hbaas/testutils"
- package: "github.com/averak/hbaas/app/core.**"
shouldOnlyDependsOn:
internal:
- "github.com/averak/hbaas/app/core"
- "github.com/averak/hbaas/pkg"
- "github.com/averak/hbaas/protobuf/config"
external:
- "github.com/google/uuid"
- "cloud.google.com/go/civil"
- "google.golang.org/protobuf"
- package: "github.com/averak/hbaas/app/domain.**"
shouldOnlyDependsOn:
internal:
- "github.com/averak/hbaas/app/core"
- "github.com/averak/hbaas/app/domain"
- "github.com/averak/hbaas/pkg"
external:
- "github.com/google/uuid"
- package: "github.com/averak/hbaas/app/infrastructure.**"
shouldOnlyDependsOn:
internal:
- "github.com/averak/hbaas/app/adapter/dao"
- "github.com/averak/hbaas/app/core"
- "github.com/averak/hbaas/app/domain"
- "github.com/averak/hbaas/app/infrastructure"
- "github.com/averak/hbaas/pkg"
- "github.com/averak/hbaas/protobuf"
- package: "github.com/averak/hbaas/app/usecase.**"
shouldOnlyDependsOn:
internal:
- "github.com/averak/hbaas/app/core"
- "github.com/averak/hbaas/app/domain"
- "github.com/averak/hbaas/app/usecase"
- "github.com/averak/hbaas/pkg"