Documentation ¶
Index ¶
- func FromJSONValue(value interface{}) (interfaces.Record, error)
- func FromString(value string) (interfaces.Record, error)
- func FromStringTuple(values []string, names map[string]int) (interfaces.Record, error)
- func IsNotAPrimitive(err error) bool
- func StringTupleWithNames(rec interfaces.Record, names map[string]int) (interfaces.Record, error)
- type Path
- type PathComponent
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromJSONValue ¶
func FromJSONValue(value interface{}) (interfaces.Record, error)
func FromString ¶
func FromString(value string) (interfaces.Record, error)
func FromStringTuple ¶
func IsNotAPrimitive ¶
func StringTupleWithNames ¶
func StringTupleWithNames(rec interfaces.Record, names map[string]int) (interfaces.Record, error)
Types ¶
type Path ¶
type Path []PathComponent
func MakePath ¶
func MakePath(pc ...PathComponent) Path
func (Path) Append ¶
func (p Path) Append(pc ...PathComponent) Path
func (Path) PathExpression ¶
func (Path) Prepend ¶
func (p Path) Prepend(pc ...PathComponent) Path
type PathComponent ¶
func Field ¶
func Field(name string) PathComponent
func Index ¶
func Index(i int) PathComponent
func (PathComponent) MakeAccessor ¶
func (c PathComponent) MakeAccessor() interfaces.Accessor
Click to show internal directories.
Click to hide internal directories.