mirror of
https://github.com/xinliangnote/go-gin-api.git
synced 2024-04-21 12:31:46 +00:00
执行命令
- 定义生成的表,设置 config 中 cmd.genTables,可以自定义设置多张表,为空表示生成库中所有的表,如果设置多个表可用','分割;
- 在根目录下执行脚本文件:
./scripts/gormgen.sh;
./scripts/gormgen.sh;