-
Notifications
You must be signed in to change notification settings - Fork 0
/
gen_config.yaml
27 lines (27 loc) · 900 Bytes
/
gen_config.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
# GO-GEN Global Configuration
# mysql connect configuration
mysql:
username: root
password: '****'
path: '****'
db-name: '****'
config: 'charset=utf8&parseTime=True&loc=Local'
max-idle-conns: 10
max-open-conns: 10
log-mode: false
template:
project: "GoGenerate"
tableName: "t_campaigns,t_delearship_enrolls"
gotpl:
- {package: autoCode/api/,tplpath: ./resource/template/te/api.go.tpl}
- {package: autoCode/model/,tplpath: ./resource/template/te/model.go.tpl}
- {package: autoCode/router/,tplpath: ./resource/template/te/router.go.tpl}
- {package: autoCode/service/,tplpath: ./resource/template/te/service.go.tpl}
- {package: autoCode/fe/,tplpath: ./resource/template/fe/api.js.tpl}
- {package: autoCode/fe/,tplpath: ./resource/template/fe/table.vue.tpl}
# system configuration
log:
prefix: '[GO-GEN]'
log-file: true
stdout: 'DEBUG'
file: 'DEBUG'