Documentation
¶
Index ¶
Constants ¶
View Source
const (
// DefaultFilename is the default filename for the file with the rules of validation
DefaultFilename = "/data/validation/rules.json"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Validator ¶
Validator defines the interface with single Validate() method
func NewRootValidator ¶
NewRootValidator creates a validator from JSON schema filename
Click to show internal directories.
Click to hide internal directories.