Documentation
¶
Index ¶
- func Any(data interface{}, fn func(v interface{}) bool) bool
- func Each(data interface{}, fn interface{})
- func Every(data interface{}, fn func(v interface{}) bool) bool
- type IPipe
- func ArrayOf(ps interface{}) IPipe
- func Filter(data interface{}, fn interface{}) IPipe
- func FilterNil(data interface{}) IPipe
- func Map(data interface{}, fn interface{}) IPipe
- func Pipe(data interface{}, fn interface{}) IPipe
- func Reduce(data interface{}, code string) IPipe
- func SliceOf(ps ...interface{}) IPipe
- func SortBy(data interface{}, swap interface{}) IPipe
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type IPipe ¶
type IPipe interface {
SortBy(swap interface{}) *_func
Pipe(fn interface{}) *_func
Map(fn interface{}) *_func
Reduce(fn interface{}) *_func
Any(fn func(v interface{}) bool) bool
Every(fn func(v interface{}) bool) bool
Each(fn interface{})
FilterNil() *_func
Filter(fn interface{}) *_func
MustNotNil()
ToString() string
ToData(fn ...interface{}) interface{}
P(tags ...string)
}
IPipe interface
Click to show internal directories.
Click to hide internal directories.