Free alternatives to Validator
200 free 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.
- G

golang-error-handling
Getgolang-error-handling is an agent skill from the samber cc-skills-golang collection that guides a coding agent to write idiomatic, debuggable error handling in Go. It covers creating errors, wrapping them with %w to keep context, checking t
- 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
- G

golang-design-patterns
Getgolang-design-patterns is an agent skill from the samber cc-skills-golang collection that guides a coding agent to idiomatic Go design. It covers functional options, constructor APIs, avoiding init functions and global state, enums, the cho
- G

go-code-review
GetThis skill gives a coding agent a checklist and procedure for reviewing Go code against community style standards, and suggests using it before submitting a Go pull request as well as on request. The review starts with a bundled pre-review
- G

golang-security
Getgolang-security is an agent skill from the samber cc-skills-golang collection that brings security practice to Go code. It covers vulnerability prevention for injection, including SQL, command and cross-site scripting injection, as well as
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










