【文件属性】:
文件名称:go-mybatis-generator:该项目是 mybatis-generator go版本的移植,
文件大小:331KB
文件格式:ZIP
更新时间:2021-05-26 09:53:24
HTML
go-mybatis-generator
Introduction
该项目是 mybatis-generator go版本的移植,同时加入协程与分库分表支持
预览
Go Mybatis Generator
在线 生成代码
从数据库中生成元数据信息 并生成项目代码
git clone https://github.com/wu191287278/go-mybatis-generator
cd go-mybatis-generator
go get github.com/go-sql-driver/mysql
go build
./go-mybatis-generator -host localhost -username root -password root -dbname db #默认生成元数据到template/example.json文件中
Getting Started
cd 生
【文件预览】:
go-mybatis-generator-master
----images()
--------preview.jpg(394KB)
----main.go(3KB)
----README.md(2KB)
----index.html(23KB)
----template()
--------service.mustache(5KB)
--------go.mod(251B)
--------application.mustache(1KB)
--------domain.mustache(218B)
--------query.mustache(23KB)
--------repository.mustache(5KB)
--------controller.mustache(7KB)
--------example.json(813B)