Versions in this module Expand all Collapse all v2 v2.0.1 Aug 25, 2026 Changes in this version + var ErrConvertToBool = errors.New("cannot convert to bool") + var ErrConvertToDuration = errors.New("cannot convert to time.Duration") + var ErrConvertToFloat = errors.New("cannot convert to float") + var ErrConvertToInt = errors.New("cannot convert to int") + var ErrConvertToUint = errors.New("cannot convert to uint") + var ErrDestinationMapStringKeys = errors.New("destination map must have string keys") + var ErrDestinationMustBePointer = errors.New("destination must be a non-nil pointer") + var ErrNegativeToUnsigned = errors.New("cannot convert negative value to unsigned") + var ErrOverflow = errors.New("overflow") + var ErrParseDuration = errors.New("cannot parse duration from string") + var ErrSourceForStructMustBeMap = errors.New("source for struct must be a map") + var ErrSourceMapKeyNotString = errors.New("source map key is not string") + var ErrSourceMapMustHaveStringKeys = errors.New("source map must have string keys") + var ErrSourceNotMap = errors.New("source is not a map") + var ErrSourceNotSliceOrArray = errors.New("source is not a slice or array") + var ErrUnsupportedDestinationType = errors.New("unsupported destination type") + func NewValue(node *Node, keyPath keypath.KeyPath) value.Value + func ToAny(node *Node) any + type Node struct + Range Range + Revision string + Source string + Value Value + func New() *Node + func (n *Node) Annotation() any + func (n *Node) Child(key string) *Node + func (n *Node) Children() []*Node + func (n *Node) ChildrenKeys() []string + func (n *Node) ClearChildren() + func (n *Node) DeleteChild(key string) bool + func (n *Node) Get(path keypath.KeyPath) *Node + func (n *Node) GetValue(path keypath.KeyPath) Value + func (n *Node) HasChild(key string) bool + func (n *Node) IsArray() bool + func (n *Node) IsLeaf() bool + func (n *Node) MarkArray() + func (n *Node) OrderSet() bool + func (n *Node) ReorderChildren(keys []string) error + func (n *Node) Set(path keypath.KeyPath, value Value) + func (n *Node) SetAnnotation(a any) + func (n *Node) SetChild(key string, child *Node) + func (n *Node) SetOrderSet(v bool) + func (n *Node) UnmarkArray() + type Position struct + Column int + Line int + type Range struct + End Position + Start Position + func NewRange(startLine, startCol, endLine, endCol int) Range + func NewZeroRange() Range + type Value any Other modules containing this package github.com/tarantool/go-config