query

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DriverJMESPath = "jmespath"
	DriverGoJQ     = "jq"
)

Variables

This section is empty.

Functions

func ByGoJQ

func ByGoJQ(input interface{}, query string, printer func(interface{}) error) (err error)

func ByJMESPath

func ByJMESPath(v interface{}, query string, printer func(interface{}) error) (err error)

Types

type ExecFunc

type ExecFunc func(v interface{}, query string, printer func(interface{}) error) error

func Executor

func Executor(driver string) ExecFunc

Executor 指定のドライバーに対応したクエリ実行funcを返す

Jump to

Keyboard shortcuts

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