pipe

package
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 9, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Any

func Any(data interface{}, fn func(v interface{}) bool) bool

func ArrayOf

func ArrayOf(ps interface{}) *_func

func DataOf

func DataOf(ps ...interface{}) *_func

func Each

func Each(data interface{}, fn interface{})

func Every

func Every(data interface{}, fn func(v interface{}) bool) bool

func Filter

func Filter(data interface{}, fn interface{}) *_func

func FilterNil

func FilterNil(data interface{}) *_func

func Map

func Map(data interface{}, fn interface{}) *_func

func Pipe

func Pipe(data interface{}, fn interface{}) *_func

func Reduce

func Reduce(data interface{}, code string) *_func

func SortBy

func SortBy(data interface{}, swap interface{}) *_func

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL