Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CompiledObjSchema ¶
type CompiledObjSchema struct {
// contains filtered or unexported fields
}
func (*CompiledObjSchema) Validate ¶
func (s *CompiledObjSchema) Validate(i interface{}) *ValidationError
type ObjSchema ¶
type ObjSchema map[string]interface{}
func (ObjSchema) Compile ¶
func (s ObjSchema) Compile() (*CompiledObjSchema, error)
func (ObjSchema) MustCompile ¶
func (s ObjSchema) MustCompile() *CompiledObjSchema
type PathError ¶
type PathError struct {
// contains filtered or unexported fields
}
func (*PathError) StringPath ¶
type ValidationError ¶
type ValidationError struct {
// contains filtered or unexported fields
}
func (*ValidationError) Error ¶
func (e *ValidationError) Error() string
func (*ValidationError) Errors ¶
func (e *ValidationError) Errors() []*PathError
Click to show internal directories.
Click to hide internal directories.