Validation
16 libraries in this category
Go Struct and Field validation, including Cross Field, Cross Struct, Map, Slice and Array diving
Validators and sanitizers for strings, numerics, slices and structs
Supports validation of various data types (structs, strings, maps, slices, etc.) with configurable and extensible validation rules specified in usual code constructs instead of struct tags
Validate Golang request data with simple rules. Highly inspired by Laravel's request validation
A [Zod](https://github.com/colinhacks/zod) inspired schema builder for runtime value parsing and validation
Go package for data validation and filtering. support validate Map, Struct, Request(Form, JSON, url.Values, Uploaded Files) data and more features
:balloon: A lightweight struct validator for Go
jio is a json schema validator similar to [joi](https://github.com/hapijs/joi)
Fast, tag-based validation for structs
Provide check digit algorithms (Luhn, Verhoeff, Damm) and calculators (ISBN, EAN, JAN, UPC, etc.)
This package provides a framework for writing validations for Go applications
strongly-typed validation rules over functional interface, powered by generics and reflection free with heavy focus on crafting clear and information-rich error messages
Zero-dependency input validation and in-place normalization with struct tags, 23 locales, and JSON Schema generation
Validation library using Generics
A lightweight model validator written in Go.Contains VFs:Min, Max, MinLength, MaxLength, Length, Enum, Regex
Validation built from small, composable checks with zero dependencies and a reconstructable error path