vcontext is a library supporting validation of config files parsed from
yaml or json with support for giving context as to where errors occur.
It is composed of multiple semi-independent packages:
.
report: a structure for containing multiple errors, warnings, etc.
It also contains context (from the path package) for determining where
in the config the reports came from
.
validate: a package for composing a report by validating go structs
.
tree: a structure for containing metadata about the location
(line/column) of objects in the source of the config
.
json, yaml: packages for generating trees from json or yaml
.
path: a structure for defining how to find json/yaml elements
Installed Size: 61.4 kB
Architectures: all