Documentation
¶
Overview ¶
Package data enables commands to painlessly read values from file or stdin
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Validate ¶
func Validate(path string, validator ValidatorFn) error
Validate will call a validator function on the path if it's a file, or for each file in the path if it's a directory. this is used for running custom validation logic on configuration artifacts
Types ¶
type ValidatorFn ¶
VisitFn is a callback that gets a chance to visit each file found during a traversal with visit().
Click to show internal directories.
Click to hide internal directories.