Skip to content

Commit

Permalink
fmt: fix lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
duke-git committed Dec 28, 2021
1 parent 0ddd522 commit 56fc2aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion function/function.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func Before(n int, fn interface{}) func(args ...interface{}) []reflect.Value {
// Fn is for curry function which is func(...interface{}) interface{}
type Fn func(...interface{}) interface{}

// Curry make a curryed function
// Curry make a curry function
func (f Fn) Curry(i interface{}) func(...interface{}) interface{} {
return func(values ...interface{}) interface{} {
v := append([]interface{}{i}, values...)
Expand Down

0 comments on commit 56fc2aa

Please sign in to comment.