https://github.com/feihua/generate-code
基础代码生成
https://github.com/feihua/generate-code
Last synced: 7 months ago
JSON representation
基础代码生成
- Host: GitHub
- URL: https://github.com/feihua/generate-code
- Owner: feihua
- License: other
- Created: 2023-07-24T09:46:15.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2025-02-19T02:37:12.000Z (8 months ago)
- Last Synced: 2025-02-19T03:27:36.707Z (8 months ago)
- Language: Smarty
- Size: 11.9 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
> 基础代码生成工具
## 安装
```shell
go install github.com/feihua/generate-code@latestgenerate-code golang zero --dsn "root:123456@tcp(127.0.0.1:3306)/demo" --tableNames sys_ --prefix sys_ --rpcClient sysclient --author liufeihua
```
## 参数解释:
```
dsn: 请输入数据库的地址
tableNames: 请输入表名称
prefix: 生成表时候去掉前缀
author: 请输入作者名称
rpcClient请输入生成rpc的模块名称
```