Validation

Libraries for validation.

validator17.3K

Go Struct and Field validation, including Cross Field, Cross Struct, Map, Slice and Array diving.

govalidator6.1K

Validators and sanitizers for strings, numerics, slices and structs.

ozzo-validation3.8K

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.

govalidator1.3K

Validate Golang request data with simple rules. Highly inspired by Laravel's request validation.

validate1.1K

Go package for data validation and filtering. support validate Map, Struct, Request(Form, JSON, url.Values, Uploaded Files) data and more features.

Zog223

A Zod inspired schema builder for runtime value parsing and validation.

jio113

jio is a json schema validator similar to joi.

checkdigit110

Provide check digit algorithms (Luhn, Verhoeff, Damm) and calculators (ISBN, EAN, JAN, UPC, etc.).

validate95

This package provides a framework for writing validations for Go applications.

gody93

:balloon: A lightweight struct validator for Go.

govalid54

Fast, tag-based validation for structs.

go-validator22

Validation library using Generics.

Validator7

A lightweight model validator written in Go.Contains VFs:Min, Max, MinLength, MaxLength, Length, Enum, Regex.