Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadAndValidate ¶
func ReadAndValidate[T any](path string, schema *gojsonschema.Schema) (T, error)
Types ¶
type ErrValidation ¶
type ErrValidation struct {
Errors []gojsonschema.ResultError
}
func (*ErrValidation) Error ¶
func (err *ErrValidation) Error() string
Click to show internal directories.
Click to hide internal directories.