Documentation ¶ Index ¶ func Evaluate(expr string, files ...string) error func EvaluateToString(expr string, files ...string) (string, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Evaluate ¶ func Evaluate(expr string, files ...string) error Evaluate creates a yqlib Evaluator and applies it to one or more files with reasonable, predictable defaults for logging, decoding, and printing. Only YAML files are supported. Will read from standard input if no arguments are passed. func EvaluateToString ¶ func EvaluateToString(expr string, files ...string) (string, error) EvaluateToString is the same as Evaluate but returns a string with the output instead. Types ¶ This section is empty. Source Files ¶ View all Source files yq.go Click to show internal directories. Click to hide internal directories.