goctl model mysql ddl
Generate mysql model from ddl
Options
| Name | Description | 
|---|---|
--branch  <branch> | The branch of the remote repo, it does work with --remote | 
--cache, -c | Generate code with cache [optional] | 
--database  <database> | The name of database [optional] | 
--dir, -d  <dir> | The target dir | 
--home  <home> | The goctl home path of the template, --home and --remote cannot be set at the same time, if they are, --remote has higher priority | 
--idea | For idea plugin [optional] | 
--remote  <remote> | The remote git repo of the template, --home and --remote cannot be set at the same time, if they are, --remote has higher priority The git repo directory must be consistent with the https://github.com/zeromicro/go-zero-template directory structure | 
--src, -s  <src> | The path or path globbing patterns of the ddl | 
--style  <style> | The file naming format, see [https://github.com/zeromicro/go-zero/tree/master/tools/goctl/config/readme.md] |