Awesome Go

Validation

16 libraries in this category

validator

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

20,193ValidationValidation
govalidator

Validators and sanitizers for strings, numerics, slices and structs

6,200ValidationValidation
ozzo-validation

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

4,149ValidationValidation
govalidator

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

1,343ValidationValidation
Zog

A [Zod](https://github.com/colinhacks/zod) inspired schema builder for runtime value parsing and validation

1,218ValidationValidation
validate

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

1,165ValidationValidation
gody

:balloon: A lightweight struct validator for Go

179ValidationValidation
jio

jio is a json schema validator similar to [joi](https://github.com/hapijs/joi)

126ValidationValidation
govalid

Fast, tag-based validation for structs

121ValidationValidation
checkdigit

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

114ValidationValidation
validate

This package provides a framework for writing validations for Go applications

94ValidationValidation
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

55ValidationValidation
checker

Zero-dependency input validation and in-place normalization with struct tags, 23 locales, and JSON Schema generation

53ValidationValidation
go-validator

Validation library using Generics

34ValidationValidation
Validator

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

7ValidationValidation
vx

Validation built from small, composable checks with zero dependencies and a reconstructable error path

1ValidationValidation