Files
TrangleAgent/Backend/hack/config.yaml

15 lines
427 B
Go
Raw Normal View History

2026-01-18 18:20:40 +08:00
gfcli:
gen:
dao:
2026-01-18 19:32:32 +08:00
- link: "mysql:root:123456@tcp(127.0.0.1:3306)/trangleagent"
2026-01-18 18:20:40 +08:00
table: "forum_posts,forum_comments"
descriptionTag: true
jsonCase: "CamelLower" # 生成json字段时字段名使用驼峰命名
docker:
build: "-a amd64 -s linux -p temp -ew"
tagPrefixes:
- my.image.pub/my-app
2026-01-18 19:07:41 +08:00
server:
address: ":8000"
openapiPath: "/api.json"
swaggerPath: "/swagger"