validator

package
v0.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 14, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InvalidContentErr

func InvalidContentErr(errs []gojsonschema.ResultError) error

func Validate

func Validate(jsonSchema string, data string) error

Types

type InvalidContentError

type InvalidContentError struct {
	Errs []gojsonschema.ResultError
}

func (*InvalidContentError) Error

func (e *InvalidContentError) Error() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL