1 个仓库
Toolkits for defining flexible validation logic and dynamic error messages via code instead of static tags.
Distinct from Validation Message Localization: Unlike message localization, this covers the entire programmable architecture for defining rules without struct tags.
Explore 1 awesome GitHub repository matching software engineering & architecture · Programmable Validation Frameworks. Refine with filters or upvote what's useful.
ozzo-validation is a programmable data validation library for Go that verifies structs, maps, and primitive types using a declarative, rule-based approach. It functions as an interface-based validator, allowing for the recursive checking of nested data structures and custom types without the use of struct tags. The framework distinguishes itself as a context-aware validation engine, supporting the propagation of request-scoped data to rules that depend on external state. It provides extensive extensibility through custom rule definitions and the ability to override default failure text with l
Provides a programmable API for defining validation rules and custom error messages without relying on struct tags.