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 ¶
type DebugLogger func(input, output interface{})
type FilterFunc ¶
type Interface ¶
type Interface interface {
Reduce(input interface{}) (interface{}, error)
}
func Debug ¶
func Debug(reducer Interface, logger DebugLogger) Interface
func DebugReducers ¶
func DebugReducers(reducers Reducers, logger DebugLogger) Interface
func DeepMapValue ¶
func DeleteNested ¶
func FilterKey ¶
func FilterKey(fn FilterFunc) Interface
func MapReduceValue ¶
func ReduceNested ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.