awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

1 个仓库

Awesome GitHub RepositoriesValidation Plugins

Plugins that generate semantic constraint enforcement code specifically for Protocol Buffer messages.

Distinct from Protocol Buffer Generators: Focuses on generating validation logic rather than general client/server boilerplate

Explore 1 awesome GitHub repository matching development tools & productivity · Validation Plugins. Refine with filters or upvote what's useful.

Awesome Validation Plugins GitHub Repositories

用 AI 发现最棒的仓库。我们将通过 AI 为您搜索最匹配的仓库。
  • bufbuild/protoc-gen-validatebufbuild 的头像

    bufbuild/protoc-gen-validate

    4,122在 GitHub 上查看↗

    这是一个 Protocol Buffer 验证插件和代码生成器,可在多种编程语言中创建一致的验证逻辑。它作为 Protocol Buffer 工具链的编译器扩展,允许开发人员直接在模式文件中定义语义约束,以确保数据一致性。 该工具使用自定义选项将验证规则嵌入到消息定义中,并将这些模式约束映射到特定语言的实现模式。它采用基于谓词的约束检查和递归遍历,以在嵌套消息层级中强制执行规则。 验证范围涵盖数值范围和值、字符串模式和格式、字节序列约束以及枚举强制执行。它还管理集合和重复字段大小、时间戳和持续时间的复杂类型验证,以及联合字段选择的要求。

    Provides a protoc plugin that generates code to enforce semantic constraints and data validation rules for messages.

    Goconstraintsprotocprotoc-plugin
    在 GitHub 上查看↗4,122
  1. Home
  2. Development Tools & Productivity
  3. API Code Generators
  4. Multi-Protocol Code Generators
  5. Protocol Buffer Generators
  6. Validation Plugins