Skip to content

Latest commit

 

History

History
48 lines (32 loc) · 1.58 KB

README.md

File metadata and controls

48 lines (32 loc) · 1.58 KB

dyn

dyn project toolkit for gin

Go.Dev reference codecov Tests Go Report Card License Tag

Usage

dyn是一个gin,protobuf工程以及代码工具生成器.

  • proto-gen-dyn-ginproto 的生成gin的代码. 注意: 当使用proto-gen-go-gin要禁用gin自带的binding,使用gin.DisableBindValidation() 接口
  • proto-gen-dyn-restyproto 的生成resty的代码.
  • proto-gen-dyn-enumproto 的生成enum的代码.
  • errno-gen 从枚举生成统一错误
  • dyngen 简化工程模板生成

Installation

Use go get.

    go get github.com/things-go/dyn

Then import the package into your own code.

    import "github.com/things-go/dyn"

Example

References

License

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