Documentation ¶
Index ¶
- Variables
- func DeepCopy(input interface{}) interface{}
- type DebugLogger
- type FilterFunc
- type Func
- type Interface
- func Debug(reducer Interface, logger DebugLogger) Interface
- func DebugReducers(reducers Reducers, logger DebugLogger) Interface
- func DeepMapValue(fn MapFunc) Interface
- func DeleteNested(keys []string) Interface
- func FilterKey(fn FilterFunc) Interface
- func MapReduceValue(reducer Interface) Interface
- func MapValue(fn MapFunc) Interface
- func Merge(source interface{}) Interface
- func MergeWith(source interface{}, fn merge.Func) Interface
- func ReduceNested(keys []string, reducer Interface) Interface
- func SetNested(keys []string, value interface{}) Interface
- type MapFunc
- type Reducers
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotArrayOrMap = xerrors.New("expected an array or a map")
View Source
var ErrNotMap = xerrors.New("expected a map")
Functions ¶
Types ¶
type DebugLogger ¶ added in v0.2.0
type DebugLogger func(input, output interface{})
type FilterFunc ¶ added in v0.2.0
type Interface ¶
type Interface interface {
Reduce(input interface{}) (interface{}, error)
}
func Debug ¶ added in v0.2.0
func Debug(reducer Interface, logger DebugLogger) Interface
func DebugReducers ¶ added in v0.2.0
func DebugReducers(reducers Reducers, logger DebugLogger) Interface
func DeepMapValue ¶ added in v0.2.0
func DeleteNested ¶ added in v0.2.0
func FilterKey ¶ added in v0.2.0
func FilterKey(fn FilterFunc) Interface
func MapReduceValue ¶ added in v0.2.0
func ReduceNested ¶ added in v0.2.0
Source Files ¶
Click to show internal directories.
Click to hide internal directories.