Documentation
¶
Index ¶
- func Any(data interface{}, fn func(v interface{}) bool) bool
- func ArrayOf(ps interface{}) *_func
- func DataOf(ps ...interface{}) *_func
- func Each(data interface{}, fn interface{})
- func Every(data interface{}, fn func(v interface{}) bool) bool
- func Filter(data interface{}, fn interface{}) *_func
- func FilterNil(data interface{}) *_func
- func Map(data interface{}, fn interface{}) *_func
- func Pipe(data interface{}, fn interface{}) *_func
- func Reduce(data interface{}, code string) *_func
- func SortBy(data interface{}, swap interface{}) *_func
- type 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
P(tags ...string)
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()
}
IPipe interface
Click to show internal directories.
Click to hide internal directories.