package
Version:
v0.0.0-...-be147c4
Opens a new window with list of versions in this module.
Published: Dec 29, 2015
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func LoadSchema(path, schemaid string)
LoadSchema loads a JSON Schema file from `path` and assigns it to the `schemaid`.
Note that any error here is fatal.
Validate validates `rawdata` using the cached `schemaid` and returns a
user-friendly error message (as a string) in case of any validation error
Source Files
¶
Click to show internal directories.
Click to hide internal directories.