mirror of
https://github.com/zeromicro/go-zero.git
synced 2025-01-23 17:20:24 +08:00
8 lines
138 B
Go
8 lines
138 B
Go
|
package validation
|
||
|
|
||
|
// Validator represents a validator.
|
||
|
type Validator interface {
|
||
|
// Validate validates the value.
|
||
|
Validate() error
|
||
|
}
|