Documentation
¶
Index ¶
- func Do(functions ...FuncMayError) error
- func Foreach(slice interface{}, f func(i int, v interface{}) error) error
- func Merge(eachFuncs []EachFunc, merge MergeFunc) error
- func MergeForeach(slice interface{}, f func(i int, v interface{}) (interface{}, error), ...) error
- type EachFunc
- type FuncMayError
- type Limiter
- type MergeFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Do ¶
func Do(functions ...FuncMayError) error
Types ¶
type FuncMayError ¶
type FuncMayError func() error
type Limiter ¶ added in v0.1.2
type Limiter struct {
// contains filtered or unexported fields
}
wrap sync.Cond on a uint, use to limit concurrent
zero value is not read to use, use NewLimiter to create
func NewLimiter ¶ added in v0.1.2
Click to show internal directories.
Click to hide internal directories.