protogen-saber

module
v0.12.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 14, 2024 License: MIT

README

protogen-saber

protogen-saber toolkit for proto generate go code. use annotation on comments like // #[enum] and // #[enum(mapping="value")].

GoDoc Go.Dev reference codecov Tests Go Report Card Licence Tag

Usage

protogen-saber是一个go工程工具生成器

  • proto-gen-saber-enumproto 的生成枚举映射的代码, 可自定义模板.
  • proto-gen-saber-asynqproto 的生成asynq代码
  • proto-gen-saber-modelproto 的生成gorm模型.
  • proto-gen-saber-rapierproto 的生成gorm-rapier CRUD.
  • proto-gen-saber-seaqlproto 的生成SQL.
Installation

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"
Example

References

License

This project is under MIT License. See the LICENSE file for the full license text.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL