Validation Go Libraries Ranking
Libraries for validation.
16 repositories, updated daily.
inspired schema builder for runtime value parsing and validation.
- 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.
- Go package for data validation and filtering. support validate Map, Struct, Request(Form, JSON, url.Values, Uploaded Files) data and more features.
- 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.
nobl9/govy
- strongly-typed validation rules over functional interface, powered by generics and reflection free with heavy focus on crafting clear and information-rich error messages.
hvalid is a lightweight validation library written in Go language. It provides a custom validator interface and a series of common validation functions to help developers quickly implement data validation.
- A lightweight model validator written in Go.Contains VFs:Min, Max, MinLength, MaxLength, Length, Enum, Regex.