modulepackage
0.0.0-20230306031804-16d37fcdfde8
Repository: https://github.com/benzj/goeasycode.git
Documentation: pkg.go.dev
# README
goEasyCode
简介
go实现命令行读取数据库,生成相关代码
项目结构
版本
v0.0.1
- 读取数据库表结构
- 使用模板引擎自动生成
参考项目
- converter go项目,读取数据库生成golang entity文件
- EasyCode插件
使用说明
## 编译
go build -o easycode.exe cmd/cli.go
##使用dsn配置
easycode --dsn esop:EsopManDev123\!@tcp\(172.15.6.184:3306\)/wealth_service?charset=utf8 --table org_service_log_coordination -template Do
## yaml配置读取 yaml配置模板参考mysql-templ.yaml
easycode --table org_service_log_coordination -template Do
# Functions
No description provided by the author
*
*判断文件是否存在
*/.
No description provided by the author
新建一个DbConfig.
No description provided by the author
*
*首字母大写
*/.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author