6
Gfast 2.0 代码生成工具发布
source link: https://studygolang.com/articles/35219?fr=sidebar
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Gfast 2.0 代码生成工具发布
kocie · 1天之前 · 253 次点击 · 预计阅读时间 1 分钟 · 大约8小时之前 开始浏览代码生成功能完善(支持生成上传文件、图片及富文本编辑器功能)
#新建测试表
CREATE TABLE `demo_gen_other` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
`info` text COMMENT '内容',
`img` text COMMENT '单图',
`imgs` text COMMENT '多图',
`file` text COMMENT '单文件',
`files` text COMMENT '多文件',
`remark` varchar(255) DEFAULT NULL COMMENT '描述',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COMMENT='特殊字段测试';
导入表格后选择对应类型
配置完成后生成代码
开源地址:https://gitee.com/tiger1103/gfast
有疑问加站长微信联系(非本文作者)
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK