mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-12 21:05:48 +02:00
make more use of generics
This commit is contained in:
parent
dde30fa104
commit
c7a629c440
52 changed files with 3013 additions and 274 deletions
6
vendor/github.com/samber/lo/constraints.go
generated
vendored
Normal file
6
vendor/github.com/samber/lo/constraints.go
generated
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
package lo
|
||||
|
||||
// Clonable defines a constraint of types having Clone() T method.
|
||||
type Clonable[T any] interface {
|
||||
Clone() T
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue