mirror of
https://github.com/duke-git/lancet.git
synced 2025-11-02 21:34:01 +08:00
fmt: fix lint issue
This commit is contained in:
@@ -2,7 +2,6 @@
|
|||||||
// Use of this source code is governed by MIT license
|
// Use of this source code is governed by MIT license
|
||||||
|
|
||||||
// Package function implements some functions for control the function execution and some is for functional programming.
|
// Package function implements some functions for control the function execution and some is for functional programming.
|
||||||
|
|
||||||
package function
|
package function
|
||||||
|
|
||||||
import (
|
import (
|
||||||
@@ -36,7 +35,7 @@ func Before(n int, fn interface{}) func(args ...interface{}) []reflect.Value {
|
|||||||
return res
|
return res
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// Fn is for curry function which is func(...interface{}) interface{}
|
||||||
type Fn func(...interface{}) interface{}
|
type Fn func(...interface{}) interface{}
|
||||||
|
|
||||||
// Curry make a curryed function
|
// Curry make a curryed function
|
||||||
|
|||||||
Reference in New Issue
Block a user