Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Validate ¶
func Validate(vObj reflect.Value, ast astnode.AstNode, source io.ReadSeeker, checkUnusedKeys bool) (r report.Report)
Validate walks down a struct tree calling Validate on every node that implements it, building A report of all the errors, warnings, info, and deprecations it encounters. If checkUnusedKeys is true, Validate will generate warnings for unused keys in the ast, otherwise it will not.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.