#1 validate
Package validate is a generic go data validate, filtering library.
Package validation provides configurable and extensible rules for validating data of various types.
Health score 54/100, confidence 80/100.
| Latest version | v3.6.0+incompatible |
| Imported by | 1.3K packages |
| Stars | 0 |
| Forks | 0 |
| Last activity | 6 years ago |
| Latest release | Unknown |
| License | Unknown |
| Known vuln records | 0 |
| Symbol | Kind | Synopsis |
|---|---|---|
| DateRule | Type | type DateRule struct{} |
| Date | Function | func Date(layout string) *DateRule |
| DateRule.Error | Method | func (r *DateRule) Error(message string) *DateRule |
| DateRule.Max | Method | func (r *DateRule) Max(max time.Time) *DateRule |
| DateRule.Min | Method | func (r *DateRule) Min(min time.Time) *DateRule |
| DateRule.RangeError | Method | func (r *DateRule) RangeError(message string) *DateRule |
| DateRule.Validate | Method | func (r *DateRule) Validate(value interface{}) error |
| EachRule | Type | type EachRule struct{} |
| Each | Function | func Each(rules ...Rule) *EachRule |
| EachRule.Validate | Method | func (r *EachRule) Validate(value interface{}) error |
| ErrFieldNotFound | Type | type ErrFieldNotFound int |
| ErrFieldNotFound.Error | Method | func (e ErrFieldNotFound) Error() string |
Package validate is a generic go data validate, filtering library.
Package validator implements value validations for structs and individual fields based on tags.
Protocol Buffer Validation for Go
[Go] Package of validators and sanitizers for strings, numerics, slices and structs
Validate Golang request data with simple rules. Highly inspired by Laravel's request validation.
Package validate is a generic go data validate, filtering library.
Package validator implements value validations for structs and individual fields based on tags.
Protocol Buffer Validation for Go
[Go] Package of validators and sanitizers for strings, numerics, slices and structs
Validate Golang request data with simple rules. Highly inspired by Laravel's request validation.