-
-
Notifications
You must be signed in to change notification settings - Fork 159
Expand file tree
/
Copy path.mockery.yaml
More file actions
125 lines (121 loc) · 3.3 KB
/
Copy path.mockery.yaml
File metadata and controls
125 lines (121 loc) · 3.3 KB
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
# - boilerplate-file:把 SPDX 头注入每个生成文件,使 `just spdx-check` 通过。
# - 生成文件带 "// Code generated by mockery ... DO NOT EDIT.",golangci-lint 自动跳过。
dir: internal/test/mocks/{{.PackageName}}
filename: mocks.go
structname: Mock{{.InterfaceName}}
pkgname: '{{.PackageName}}mock'
template: testify
template-data:
boilerplate-file: scripts/spdx-boilerplate.txt
unroll-variadic: true
packages:
github.com/lin-snow/ech0/internal/service/common:
config:
dir: internal/test/mocks/commonmock
pkgname: commonmock
interfaces:
Service: {}
CommonRepository: {}
github.com/lin-snow/ech0/internal/service/file:
config:
dir: internal/test/mocks/filemock
pkgname: filemock
interfaces:
Service: {}
CommonRepository: {}
FileRepository: {}
github.com/lin-snow/ech0/internal/transaction:
config:
dir: internal/test/mocks/txmock
pkgname: txmock
interfaces:
Transactor: {}
github.com/lin-snow/ech0/internal/kvstore:
config:
dir: internal/test/mocks/kvmock
pkgname: kvmock
interfaces:
Store: {}
github.com/lin-snow/ech0/internal/service/comment:
config:
dir: internal/test/mocks/commentmock
pkgname: commentmock
interfaces:
Service: {}
Repository: {}
Mailer: {}
github.com/lin-snow/ech0/internal/service/user:
config:
dir: internal/test/mocks/usermock
pkgname: usermock
interfaces:
Service: {}
Repository: {}
UserRepo: {}
InstallStateRepo: {}
github.com/lin-snow/ech0/internal/service/echo:
config:
dir: internal/test/mocks/echomock
pkgname: echomock
interfaces:
Service: {}
Repository: {}
github.com/lin-snow/ech0/internal/service/setting:
config:
dir: internal/test/mocks/settingmock
pkgname: settingmock
interfaces:
Service: {}
SettingRepository: {}
TokenRevoker: {}
WebhookRepository: {}
github.com/lin-snow/ech0/internal/service/connect:
config:
dir: internal/test/mocks/connectmock
pkgname: connectmock
interfaces:
Service: {}
Repository: {}
EchoRepository: {}
github.com/lin-snow/ech0/internal/service/embedding:
config:
dir: internal/test/mocks/embeddingmock
pkgname: embeddingmock
interfaces:
Repository: {}
Indexer: {}
EchoReader: {}
Embedder: {}
github.com/lin-snow/ech0/internal/service/auth:
config:
dir: internal/test/mocks/authmock
pkgname: authmock
interfaces:
Service: {}
Repository: {}
AuthRepo: {}
github.com/lin-snow/ech0/internal/service/init:
config:
dir: internal/test/mocks/initmock
pkgname: initmock
interfaces:
Service: {}
github.com/lin-snow/ech0/internal/service/dashboard:
config:
dir: internal/test/mocks/dashboardmock
pkgname: dashboardmock
interfaces:
Service: {}
github.com/lin-snow/ech0/internal/service/migrator:
config:
dir: internal/test/mocks/migratormock
pkgname: migratormock
interfaces:
Service: {}
github.com/lin-snow/ech0/internal/service/copilot:
config:
dir: internal/test/mocks/copilotmock
pkgname: copilotmock
interfaces:
SummaryService: {}
ChatService: {}