Open source alternatives to Validator
200 open source apps like Validator, closest match first.
Top picks
- G
Govalid
LaunchUp to 45x faster. Auto generate type-safe validation code for structs based on markers.
- F
Form
Launchform is a Go package for encoding and decoding arbitrary Go values in application/x-www-form-urlencoded format and as url.Values. That is the format used by web forms and URL query strings. It is modeled on Go's encoding/json package and fo
- Z
Zog
LaunchZog is a schema builder for runtime value parsing and validation. Define a schema, transform a value to match, assert the shape of an existing value, or both. Zog schemas are extremely expressive and allow modeling complex, interdependent v
- N
Nope Validator
LaunchA small, simple, and fast JS validator. Like, wow that's fast. 🚀
- C
Csvutil
Launchcsvutil is a Go package for mapping between CSV data and Go values, with no external dependencies. It is not a CSV parser itself; it works on top of reader and writer interfaces such as those in Go's standard csv package, so you can plug in
- G
Go I18n
Launchgo-i18n is a Go package and command-line tool for translating Go programs into several languages. The package looks up messages according to a set of locale preferences, using a bundle that you load translations into when the application st
More like Validator
About Validator
Validator
Go Struct and Field validation, including Cross Field, Cross Struct, Map
validator is a Go package that validates struct fields and values based on tags. It supports cross-field and cross-struct validations, both with built-in tags and custom validators, and it can dive into slices, arrays and maps to validate any or all levels of a nested value, including map keys and values. It determines the underlying type of an interface before validating, and handles custom types such as SQL driver valuers. Validation tags can be grouped under an alias so one name stands for several checks, and the field name used in errors can be taken from a custom source, such as a JSON name. Errors are customizable and can be translated. The package is the default validator for the Gin web framework, and the README explains the upgrade from version 8 to version 9 for Gin users. Installation uses go get with the version 10 path. Validation functions return an error that is nil or a set of validation errors, and the README explains how to check it. The README includes a call for maintainers, and the detailed usage reference is hosted on pkg.go.dev. The package is for Go developers who check request payloads, configuration and form data in their services.
- Price
- Free
- Made by
- go-playground
- Category
- Utilities
- Website
- github.com/go-playground/validator




