Documentation ¶
Overview ¶
Package validator holds utilities for validating data.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SchemaValidator ¶
type SchemaValidator interface { // Validate validates document against some kind of schema located in schemaPath. Validate(document, schemaPath string) error }
SchemaValidator describes entity that can validate document against some kind of schema.
Click to show internal directories.
Click to hide internal directories.