Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Path ¶
Path is a parsed jq-like path.
type Segment ¶
type Segment struct {
Type SegmentType
Field string // for SegmentField
Index int // for SegmentIndex
}
Segment is one step in a path.
type SegmentType ¶
type SegmentType int
SegmentType represents the kind of path segment.
const ( SegmentField SegmentType = iota SegmentIndex )
Click to show internal directories.
Click to hide internal directories.