docs/cli/gen-dao #27
Replies: 3 comments 9 replies
-
gf gen dao 生成的结构中 id、url、ip等,可以自定义为 ID、URL、IP 吗? 这种更符合意思。 |
Beta Was this translation helpful? Give feedback.
4 replies
-
怎么tinyint 1也整到 bool 了 如何关闭此特性? |
Beta Was this translation helpful? Give feedback.
4 replies
-
hello 请教下, 看了2.7 2.8 没看到 data model 自动创建 sql 表的描述, 只看到了 db table 转 dao model, 是不支持吧? 后续能否支持下? 比如比较流行的框架是支持的, 开发时直接定义 data model 多方便啊, 然后run起来就创建了表如果不存在, 这种是比较方便主流的开发流程了吧. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
docs/cli/gen-dao
gen dao 命令是 CLI 中最频繁使用、也是框架设计的工程规范能否准确落地的关键命令。该命令用于生成 dao 数据访问对象、 do 数据转化模型及 entity 实例数据模型 Go 代码文件。由于该命令的参数、选项较多,我们推荐使用配置文件来管理生成规则。
https://goframe.org/docs/cli/gen-dao
Beta Was this translation helpful? Give feedback.
All reactions