Skip to content

Latest commit

 

History

History
67 lines (59 loc) · 9.45 KB

File metadata and controls

67 lines (59 loc) · 9.45 KB

Validation

Libraries for validation.

Ranked by Stars

Repository Stars Forks Last Updated Description
colinhacks/zod 43k 2k 2026-08-05T22:51:57Z inspired schema builder for runtime value parsing and validation.
hapijs/joi 21k 2k 2026-08-05T01:38:35Z .
go-playground/validator 20k 1k 2026-08-05T15:03:00Z Go Struct and Field validation, including Cross Field, Cross Struct, Map, Slice and Array diving.
asaskevich/govalidator 6k 572 2026-08-05T15:03:01Z Validators and sanitizers for strings, numerics, slices and structs.
go-ozzo/ozzo-validation 4k 243 2026-08-05T03:32:45Z 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.
thedevsaddam/govalidator 1k 122 2026-06-21T03:52:54Z Validate Golang request data with simple rules. Highly inspired by Laravel's request validation.
gookit/validate 1k 125 2026-08-03T14:36:20Z Go package for data validation and filtering. support validate Map, Struct, Request(Form, JSON, url.Values, Uploaded Files) data and more features.
guiferpa/gody 182 11 2026-07-23T19:30:31Z 🎈 A lightweight struct validator for Go.
twharmon/govalid 119 12 2026-07-08T00:26:13Z Fast, tag-based validation for structs.
osamingo/checkdigit 114 9 2025-11-23T11:23:10Z Provide check digit algorithms (Luhn, Verhoeff, Damm) and calculators (ISBN, EAN, JAN, UPC, etc.).
gobuffalo/validate 94 22 2025-08-06T02:26:16Z This package provides a framework for writing validations for Go applications.
nobl9/govy 55 0 2026-07-30T22:48:13Z strongly-typed validation rules over functional interface, powered by generics and reflection free with heavy focus on crafting clear and information-rich error messages.
tiendc/go-validator 32 1 2026-07-25T20:22:58Z Validation library using Generics.
marrow16/valix 31 2 2025-06-26T21:50:42Z Go package for validating requests
lyonnee/hvalid 14 2 2025-10-28T01:24:54Z 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.
go-the-way/validator 7 0 2024-08-16T03:37:12Z A lightweight model validator written in Go.Contains VFs:Min, Max, MinLength, MaxLength, Length, Enum, Regex.

Ranked by Forks

Repository Stars Forks Last Updated Description
colinhacks/zod 43k 2k 2026-08-05T22:51:57Z inspired schema builder for runtime value parsing and validation.
hapijs/joi 21k 2k 2026-08-05T01:38:35Z .
go-playground/validator 20k 1k 2026-08-05T15:03:00Z Go Struct and Field validation, including Cross Field, Cross Struct, Map, Slice and Array diving.
asaskevich/govalidator 6k 572 2026-08-05T15:03:01Z Validators and sanitizers for strings, numerics, slices and structs.
go-ozzo/ozzo-validation 4k 243 2026-08-05T03:32:45Z 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.
gookit/validate 1k 125 2026-08-03T14:36:20Z Go package for data validation and filtering. support validate Map, Struct, Request(Form, JSON, url.Values, Uploaded Files) data and more features.
thedevsaddam/govalidator 1k 122 2026-06-21T03:52:54Z Validate Golang request data with simple rules. Highly inspired by Laravel's request validation.
gobuffalo/validate 94 22 2025-08-06T02:26:16Z This package provides a framework for writing validations for Go applications.
twharmon/govalid 119 12 2026-07-08T00:26:13Z Fast, tag-based validation for structs.
guiferpa/gody 182 11 2026-07-23T19:30:31Z 🎈 A lightweight struct validator for Go.
osamingo/checkdigit 114 9 2025-11-23T11:23:10Z Provide check digit algorithms (Luhn, Verhoeff, Damm) and calculators (ISBN, EAN, JAN, UPC, etc.).
marrow16/valix 31 2 2025-06-26T21:50:42Z Go package for validating requests
lyonnee/hvalid 14 2 2025-10-28T01:24:54Z 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.
tiendc/go-validator 32 1 2026-07-25T20:22:58Z Validation library using Generics.
nobl9/govy 55 0 2026-07-30T22:48:13Z strongly-typed validation rules over functional interface, powered by generics and reflection free with heavy focus on crafting clear and information-rich error messages.
go-the-way/validator 7 0 2024-08-16T03:37:12Z A lightweight model validator written in Go.Contains VFs:Min, Max, MinLength, MaxLength, Length, Enum, Regex.

Ranked by Last Updated

Repository Stars Forks Last Updated Description
colinhacks/zod 43k 2k 2026-08-05T22:51:57Z inspired schema builder for runtime value parsing and validation.
asaskevich/govalidator 6k 572 2026-08-05T15:03:01Z Validators and sanitizers for strings, numerics, slices and structs.
go-playground/validator 20k 1k 2026-08-05T15:03:00Z Go Struct and Field validation, including Cross Field, Cross Struct, Map, Slice and Array diving.
go-ozzo/ozzo-validation 4k 243 2026-08-05T03:32:45Z 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.
hapijs/joi 21k 2k 2026-08-05T01:38:35Z .
gookit/validate 1k 125 2026-08-03T14:36:20Z Go package for data validation and filtering. support validate Map, Struct, Request(Form, JSON, url.Values, Uploaded Files) data and more features.
nobl9/govy 55 0 2026-07-30T22:48:13Z strongly-typed validation rules over functional interface, powered by generics and reflection free with heavy focus on crafting clear and information-rich error messages.
tiendc/go-validator 32 1 2026-07-25T20:22:58Z Validation library using Generics.
guiferpa/gody 182 11 2026-07-23T19:30:31Z 🎈 A lightweight struct validator for Go.
twharmon/govalid 119 12 2026-07-08T00:26:13Z Fast, tag-based validation for structs.
thedevsaddam/govalidator 1k 122 2026-06-21T03:52:54Z Validate Golang request data with simple rules. Highly inspired by Laravel's request validation.
osamingo/checkdigit 114 9 2025-11-23T11:23:10Z Provide check digit algorithms (Luhn, Verhoeff, Damm) and calculators (ISBN, EAN, JAN, UPC, etc.).
lyonnee/hvalid 14 2 2025-10-28T01:24:54Z 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.
gobuffalo/validate 94 22 2025-08-06T02:26:16Z This package provides a framework for writing validations for Go applications.
marrow16/valix 31 2 2025-06-26T21:50:42Z Go package for validating requests
go-the-way/validator 7 0 2024-08-16T03:37:12Z A lightweight model validator written in Go.Contains VFs:Min, Max, MinLength, MaxLength, Length, Enum, Regex.