Validation

15 packages

Packages (15)

validator

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

19,920 1,420

govalidator

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

6,199 563

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

govalidator

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

1,346 122

Zog

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

1,178 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,128 124

gody

balloon: A lightweight struct validator for Go.

180 11

jio

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

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

114 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