1 repositorio
Utilities that transform simple predicate functions into full validation objects with metadata and error messages.
Distinct from Custom Validation Functions: Distinct from Custom Validation Functions as it focuses on the wrapping mechanism that adds metadata, not just the execution of the logic.
Explore 1 awesome GitHub repository matching software engineering & architecture · Rule Wrappers. 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
Transforms simple boolean functions into complex validation objects that support custom error messages and metadata.