Versions in this module Expand all Collapse all v1 v1.1.0 Apr 1, 2023 v1.0.0 Apr 1, 2023 Changes in this version + const PathSeparator + func PathContains(path, subPath string) bool + func PathJoin(elem ...string) string + func PathSplit(path string) []string + type ErrCannotModify struct + Type string + Value string + func (e *ErrCannotModify) Error() string + type ErrElementNotFound struct + Path string + func (e *ErrElementNotFound) Error() string + type ErrKeyIsNotString struct + Key string + Type string + func (e *ErrKeyIsNotString) Error() string + type ErrPathInsideValue struct + Path string + func (e *ErrPathInsideValue) Error() string + type ErrPathInvalid struct + Path string + Reason string + func (e *ErrPathInvalid) Error() string + type ErrUnexpectedType struct + Expected string + Got string + Path string + func (e *ErrUnexpectedType) Error() string + type Node map[string]interface + func (n Node) Check() error + func (n Node) Compare(new Node) (modified, added, removed []string) + func (n Node) Copy() Node + func (n Node) CreatePath(path string) (Node, error) + func (n Node) Get(path string, obj interface{}) error + func (n Node) GetBool(path string, fallback bool) (result bool) + func (n Node) GetFloat64(path string, fallback float64) (result float64) + func (n Node) GetInt64(path string, fallback int64) (result int64) + func (n Node) GetString(path string, fallback string) (result string) + func (n Node) Merge(new Node) + func (n Node) Remove(path string) error + func (n Node) Set(path string, obj interface{}) error + func (n Node) UnmarshalJSON(b []byte) error + func (n Node) UnmarshalYAML(unmarshal func(v interface{}) error) error + type Number string + func NumberCreate(num interface{}) (Number, error) + func (n Number) Float64() (float64, error) + func (n Number) Int() (int, error) + func (n Number) Int64() (int64, error) + func (n Number) MarshalJSON() ([]byte, error) + func (n Number) MarshalYAML() (interface{}, error) + func (n Number) String() (string, error) + func (n Number) Uint() (uint, error) + func (n Number) Uint64() (uint64, error)