11 Repos
Tools for validating data structures and inputs.
Explore 11 awesome GitHub repositories matching part of an awesome list · Validation Libraries. 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
Struct and field validation with cross-field support.
Go Package of validators and sanitizers for strings, numerics, slices and structs
Data validation and sanitization tools.
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
Extensible validation for various data types.
Validate Golang request data with simple rules. Highly inspired by Laravel's request validation.
Request data validation inspired by Laravel.
⚔ Go package for data validation and filtering. support Map, Struct, Form data. Go通用的数据验证与过滤库,使用简单,内置大部分常用验证、过滤器,支持自定义验证器、自定义消息、字段翻译。
Data validation and filtering for various inputs.