Documentation ¶
Index ¶
Constants ¶
View Source
const (
TagValid = "valid"
)
Variables ¶
View Source
var EchotoolValidator = &echotoolValidator{}
Functions ¶
This section is empty.
Types ¶
type Validator ¶
type Validator interface { ValidateStruct(obj interface{}) error RegisterValidation(key string, fn vd.Func) error RegisterAlias(alias, tags string) RegisterStructValidation(fn vd.StructLevelFunc, types ...interface{}) RegisterCustomTypeFunc(fn vd.CustomTypeFunc, types ...interface{}) }
Click to show internal directories.
Click to hide internal directories.