#1 Validator
Package validator implements value validations for structs and individual fields based on tags.
Package validation provides methods for validating parameter value using reflection.
Health score 69/100, confidence 75/100.
| Latest version | v0.3.2 |
| Imported by | 77.0K packages |
| Stars | 0 |
| Forks | 0 |
| Last activity | 1 years ago |
| Latest release | Unknown |
| License | Unknown |
| Known vuln records | 0 |
| Symbol | Kind | Synopsis |
|---|---|---|
| Constraint | Type | type Constraint struct{ ... } |
| Constraint.Chain | Field | Chain []Constraint |
| Constraint.Name | Field | Name string |
| Constraint.Rule | Field | Rule interface{} |
| Constraint.Target | Field | Target string |
| Error | Type | type Error struct{ ... } |
| Error.Error | Method | func (e Error) Error() string |
| Error.Message | Field | Message string |
| Error.Method | Field | Method string |
| Error.PackageType | Field | PackageType string |
| NewError | Function | func NewError(packageType string, method string, message string, args ...interface{}) Error |
| Validation | Type | type Validation struct{ ... } |
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.
Package validate is a generic go data validate, filtering library.
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.
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.