1 Star 2 Fork 0

阿债 / xorm-refactor

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
settings-sample.yml 782 Bytes
一键复制 编辑 原始数据 按行查看 历史
阿债 提交于 2021-10-14 16:44 . 调整模块名和命令行参数
connections:
cache: #默认缓存
driver_name: redis
params:
host: 127.0.0.1
port: 6379
username: ""
password: pass
database: "0"
default: #默认数据库
driver_name: mysql
table_prefix: "t_"
log_file: ""
params:
host: localhost
port: 3306
username: dba
password: pass
database: test
options:
charset: utf8mb4
reverse_target:
language: golang
output_dir: ./models
init_name_space: my-project/models
template_path: ""
include_tables: ["t_*"]
exclude_tables: []
multiple_files: false
apply_mixins: true #使用已知的Mixin替换部分字段
1
https://gitee.com/azhai/xorm-refactor.git
git@gitee.com:azhai/xorm-refactor.git
azhai
xorm-refactor
xorm-refactor
v2

搜索帮助