Documentation ¶
Overview ¶
Package template helps to implement jsonpath parser This package is copied from Go library text/template. The original private functions indirect and printableValue are exported as public functions.
Package template helps to implement jsonpath parser This package is copied from Go library text/template. The original private functions eq, ge, gt, le, lt, and ne are exported as public functions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Equal = eq
Equal evaluates the comparison a == b || a == c || ...
var Greater = gt
Greater evaluates the comparison a > b
var GreaterEqual = ge
GreaterEqual evaluates the comparison a >= b
var Indirect = indirect
Indirect returns the item at the end of indirection, and a bool to indicate if it's nil
var Less = lt
Less evaluates the comparison a < b
var LessEqual = le
LessEqual evaluates the comparison <= b
var NotEqual = ne
NotEqual evaluates the comparison a != b.
var PrintableValue = printableValue
PrintableValue returns the, possibly indirected, interface value inside Value structure
Functions ¶
This section is empty.
Types ¶
This section is empty.