Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Segment ¶
type Segment struct {
Name string // Field name without quotes
Index int // -1 if not an array access
}
Segment represents a single part of a path
func NewIndexedSegment ¶
NewIndexedSegment creates a new indexed segment.
func NewNamedSegment ¶
NewNamedSegment creates a new named segment.
Click to show internal directories.
Click to hide internal directories.