yq

package module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 3, 2024 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL