Documentation ¶
Index ¶
- func Close()
- func Marshal(v any) ([]byte, error)
- func RegisterCustomAnnotation(annotationName string, validateFunc definitions.AnnotationValidate) error
- func RegisterFieldError(errorName, msg string)
- func RegisterOrderedValidator[T any](v validate.OrderedValidator[T])
- func RegisterValidator[T any](v validate.Validator[T])
- func Unmarshal[V any](data []byte) (*V, error)
- func Validate[T any](v T) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterCustomAnnotation ¶
func RegisterCustomAnnotation(annotationName string, validateFunc definitions.AnnotationValidate) error
func RegisterFieldError ¶ added in v1.0.4
func RegisterFieldError(errorName, msg string)
func RegisterOrderedValidator ¶
func RegisterOrderedValidator[T any](v validate.OrderedValidator[T])
func RegisterValidator ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.