protogen-saber toolkit for proto generate go code. use annotation on comments like // #[enum]
and // #[enum(mapping="value")]
.
protogen-saber
是一个go
工程工具生成器
proto-gen-saber-enum
从proto
的生成枚举映射的代码, 可自定义模板.proto-gen-saber-asynq
从proto
的生成asynq
代码proto-gen-saber-model
从proto
的生成gorm
模型.proto-gen-saber-rapier
从proto
的生成gorm-rapier
CRUD.proto-gen-saber-seaql
从proto
的生成SQL
.
Use go get.
go get github.com/things-go/protogen-saber
Then import the package into your own code.
import "github.com/things-go/protogen-saber"
This project is under MIT License. See the LICENSE file for the full license text.