Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToJSON ¶
func ToJSON(errorList []gojsonschema.ResultError) ([]byte, error)
func ValidateGoStruct ¶
func ValidateGoStruct(schemaPath string, data interface{}) ([]gojsonschema.ResultError, error)
func ValidateJsonString ¶
func ValidateJsonString(schemaPath string, data []byte) ([]gojsonschema.ResultError, error)
Types ¶
type ValidationError ¶
Click to show internal directories.
Click to hide internal directories.