#1 Validator
Package validator implements value validations for structs and individual fields based on tags.
Package govalidator is package of validators and sanitizers for strings, structs and collections.
Health score 92/100, confidence 100/100.
| Latest version | v0.0.0-20230301143203-a9d515a09cc2 |
| Imported by | 4.7K packages |
| Stars | 6.2K |
| Forks | 565 |
| Last activity | 9 days ago |
| Latest release | v11.0.1 (5 years ago) |
| License | MIT |
| Known vuln records | 0 |
| Symbol | Kind | Synopsis |
|---|---|---|
| ConditionIterator | Type | type ConditionIterator func(interface{}, int) bool |
| CustomTypeValidator | Type | type CustomTypeValidator func(i interface{}, o interface{}) bool |
| Error | Type | type Error struct{ ... } |
| Error.CustomErrorMessageExists | Field | CustomErrorMessageExists bool |
| Error.Err | Field | Err error |
| Error.Error | Method | func (e Error) Error() string |
| Error.Name | Field | Name string |
| Error.Path | Field | Path []string |
| Error.Validator | Field | Validator string |
| Errors | Type | type Errors []error |
| Errors.Error | Method | func (es Errors) Error() string |
| Errors.Errors | Method | func (es Errors) Errors() []error |
Package validator implements value validations for structs and individual fields based on tags.
Package validate is a generic go data validate, filtering library.
Generate message validators from .proto annotations.
Package validation provides configurable and extensible rules for validating data of various types.
Package validation provides methods for validating parameter value using reflection.