Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrFieldMissing = fmt.Errorf("No field with such name")
View Source
var ErrIdxOutOfBounds = fmt.Errorf("Index out of bounds")
View Source
var ErrWrongVisit = fmt.Errorf("Not possible to visit a field for the value of this type")
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Node interface { Visit(field PathElement) (Node, error) NodeType() NodeType Value() any GetField(field PathElement) (any, error) SetField(field PathElement, value any) error DeleteField(field PathElement) error }
type PathElement ¶ added in v0.0.8
func (PathElement) String ¶ added in v0.0.8
func (pe PathElement) String() string
type PathElementSlice ¶ added in v0.0.8
type PathElementSlice []PathElement
func (PathElementSlice) String ¶ added in v0.0.8
func (sl PathElementSlice) String() string
Click to show internal directories.
Click to hide internal directories.