Skip to content

Releases: duke-git/lancet

v1.1.5

01 Jan 12:21
Compare
Choose a tag to compare

New feature:

  1. Watcher in package function is for record code excution time.
  2. Func Drop, FlatternDeep, and Shuffle in slice package.

Merge request:
#9

v1.1.4

30 Dec 12:27
Compare
Choose a tag to compare

Merge PR:
#7
#8

v1.1.3

29 Dec 02:00
Compare
Choose a tag to compare

Merge PR:
#5
#6

v1.1.2

28 Dec 03:30
Compare
Choose a tag to compare

Fix some issues in slice.go and function_test.go

v1.1.1

28 Dec 02:11
Compare
Choose a tag to compare

Merge request: #4

v1.1.0

27 Dec 12:05
Compare
Choose a tag to compare

New feature for slice, slice/slice.go:

func Intersection(slices ...interface{}) interface{}
func Union(slices ...interface{}) interface{}
func Without(slice interface{}, values ...interface{}) interface{}

v1.0.10

26 Dec 13:22
Compare
Choose a tag to compare

Merge request: #3

v1.0.9

26 Dec 05:58
Compare
Choose a tag to compare

merge request: #2

v1.0.8

20 Dec 03:48
Compare
Choose a tag to compare

New feature: add ParseHttpResponse func in netutil/request.go

v1.0.7

14 Dec 03:08
Compare
Choose a tag to compare

New feature for control function execution and support functional programming.

function/function.go:

  1. func After(n int, fn interface{}) func(args ...interface{}) []reflect.Value
  2. func Before(n int, fn interface{}) func(args ...interface{}) []reflect.Value
  3. func (f Fn) Curry(i interface{}) func(...interface{}) interface{}
  4. func Compose(fnList ...func(...interface{}) interface{}) func(...interface{}) interface{}
  5. func Delay(delay time.Duration, fn interface{}, args ...interface{})
  6. func Schedule(d time.Duration, fn interface{}, args ...interface{}) chan bool