3 repository-uri
Libraries specifically designed to validate Go-native types like structs and maps against business rules.
Distinct from Go Quality Validators: The candidates focus on quality linting, SDKs, or caches; no candidate covers runtime data validation for Go types.
Explore 3 awesome GitHub repositories matching software engineering & architecture · Go Data Validation. Refine with filters or upvote what's useful.
This is a Go struct validation library used to maintain data integrity by enforcing constraints on fields, slices, and maps. It functions as a schema validation tool and data integrity validator, ensuring that complex nested structures adhere to predefined rules. The library utilizes struct tags to configure validation logic at runtime and supports a custom function registry for extending validation rules. It is distinguished by its ability to perform cross-field dependency evaluation, allowing the comparison of values between different fields within the same data structure to ensure logical
Specifically designed to validate Go-native types like structs and maps against defined business rules.
Go Package of validators and sanitizers for strings, numerics, slices and structs
Validates Go struct fields by parsing declarative tags and applying built-in or custom validation rules at runtime.
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 framework to verify that Go structs and maps meet specific business requirements.