template

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2020 License: Apache-2.0 Imports: 3 Imported by: 1

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

View Source
var Equal = eq

Equal evaluates the comparison a == b || a == c || ...

View Source
var Greater = gt

Greater evaluates the comparison a > b

View Source
var GreaterEqual = ge

GreaterEqual evaluates the comparison a >= b

View Source
var Indirect = indirect

Indirect returns the item at the end of indirection, and a bool to indicate if it's nil

View Source
var Less = lt

Less evaluates the comparison a < b

View Source
var LessEqual = le

LessEqual evaluates the comparison <= b

View Source
var NotEqual = ne

NotEqual evaluates the comparison a != b.

View Source
var PrintableValue = printableValue

PrintableValue returns the, possibly indirected, interface value inside Value structure

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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