Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/smilefish2/gener
基于xo、proteus等开源项目实现的数据库字段Go模型结构体和Proto原型文件生成器
https://github.com/smilefish2/gener
code-generator generator go golang proto protobuf struct
Last synced: 28 days ago
JSON representation
基于xo、proteus等开源项目实现的数据库字段Go模型结构体和Proto原型文件生成器
- Host: GitHub
- URL: https://github.com/smilefish2/gener
- Owner: Smilefish2
- License: mit
- Created: 2020-01-16T06:22:35.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-10-10T09:06:38.000Z (about 2 years ago)
- Last Synced: 2024-06-21T09:55:26.159Z (6 months ago)
- Topics: code-generator, generator, go, golang, proto, protobuf, struct
- Language: Go
- Homepage:
- Size: 29.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### Gener
基于xo、proteus等开源项目实现的数据库字段Go模型结构体和Proto原型文件生成器,用于快速开发业务。
### 安装
```
$ go get -u -v github.com/Smilefish2/gener
```### 使用
```
// 运行环境检查命令检测所有必要条件是否可用
$ gener doctor
// 运行生成命令
$ gener gen
```### 感谢
* [xo](https://github.com/xo/xo) - Command line tool to generate idiomatic Go code for SQL databases
* [proteus](https://github.com/src-d/proteus) - Generate .proto files from Go source code.### License
MIT, see [LICENSE](/LICENSE)