mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-06-29 00:51:35 +02:00
use boxlayout from lazycore
This commit is contained in:
8
vendor/github.com/samber/lo/func.go
generated
vendored
Normal file
8
vendor/github.com/samber/lo/func.go
generated
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
package lo
|
||||
|
||||
// Partial returns new function that, when called, has its first argument set to the provided value.
|
||||
func Partial[T1, T2, R any](f func(T1, T2) R, arg1 T1) func(T2) R {
|
||||
return func(t2 T2) R {
|
||||
return f(arg1, t2)
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user