Releases: duke-git/lancet
Releases · duke-git/lancet
v1.1.5
v1.1.4
v1.1.3
v1.1.2
v1.1.1
v1.1.0
v1.0.10
v1.0.9
v1.0.8
v1.0.7
New feature for control function execution and support functional programming.
function/function.go:
- func After(n int, fn interface{}) func(args ...interface{}) []reflect.Value
- func Before(n int, fn interface{}) func(args ...interface{}) []reflect.Value
- func (f Fn) Curry(i interface{}) func(...interface{}) interface{}
- func Compose(fnList ...func(...interface{}) interface{}) func(...interface{}) interface{}
- func Delay(delay time.Duration, fn interface{}, args ...interface{})
- func Schedule(d time.Duration, fn interface{}, args ...interface{}) chan bool