Skip to content
This repository was archived by the owner on Oct 31, 2024. It is now read-only.

things-go/protogen-saber

Repository files navigation

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.

About

protoc plugin toolkit for golang

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •