Validation

15 packages

Packages (15)

validator

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

19,974 1,422

govalidator

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

6,200 565

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,100 239

govalidator

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

1,345 122

Zog

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

1,187 36

validate

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

1,127 126

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).

126 13

govalid

Fast, tag-based validation for structs.

115 12

checkdigit

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

114 8

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