Validation

15 packages

Packages (15)

validator

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

19,653 1,400

govalidator

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

6,196 562

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,061 238

govalidator

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

1,347 124

Zog

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

1,131 34

validate

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

1,126 125

gody

balloon: A lightweight struct validator for Go.

181 11

jio

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

125 13

checkdigit

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

114 8

govalid

Fast, tag-based validation for structs.

112 11

validate

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

94 22

valix

Go package for validating requests

31 2

hvalid

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.

14 2

Validator

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

7