-
Notifications
You must be signed in to change notification settings - Fork 11
/
goro.yaml
70 lines (59 loc) · 850 Bytes
/
goro.yaml
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
app:
name: testapp
module: testapp
work_dir: ""
storages:
- mysql
- mysqlx
- pgsqlx
- http
handlers:
- http
- grpc
- amqp
use_case:
deps:
- MyService
- PingPong
methods:
- GetClients
- SignIn
- SignUp
- Pong
services:
- name: MyService
methods:
- GetList
- GetByFilter
deps:
- MyRepo
- name: PingPong
methods:
- Pong
deps:
- MyRepo
- name: OrderService
methods:
- GetByID
deps:
- OrdersRepo
adapters:
- name: MyRepo
storage: mysql
methods:
- GetOne
- GetAll
- Save
- name: ClientRepo
storage: mysqlx
methods:
- GitByDate
- GetByID
- name: UserRepo
storage: pgsqlx
methods:
- GetByID
- name: OrdersRepo
storage: http
methods:
- GetByID