hotgo/server/hack/config.yaml

24 lines
831 B
Go
Raw Normal View History

2022-11-24 23:37:34 +08:00
# CLI tool, only in development environment.
# https://goframe.org/pages/viewpage.action?pageId=3673173
gfcli:
build:
name: "hotgo"
arch: "amd64"
system: "linux"
mod: "none"
cgo: 0
packSrc: "resource"
packDst: "internal/packed/packed.go"
version: ""
output: "./bin"
extra: ""
gen:
dao:
- link: "mysql:hotgo:hg123456.@tcp(127.0.0.1:3306)/hotgo?loc=Local&parseTime=true"
# path: "./app"
# tables: "" #指定当前数据库中需要执行代码生成的数据表如果为空表示数据库的所有表都会生成
# tablesEx: "" #指定当前数据库中需要排除代码生成的数据表
removePrefix: "hg_"
descriptionTag: true
noModelComment: true
jsonCase: "CamelLower"