go-playground/validator
go-playground/validator implements value validation for Go structs and individual fields using struct tags. It supports cross-field and cross-struct rules, diving into slices, arrays and maps including keys, interface and custom field types, and aliased tags that group several rules. Validation errors carry field names extracted for JSON or other formats and can be localized. The package is the default validator of the Gin web framework.
Maintenance activity