make more use of generics

This commit is contained in:
Jesse Duffield 2022-03-19 12:26:30 +11:00
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
View file

@ -0,0 +1,6 @@
package lo
// Clonable defines a constraint of types having Clone() T method.
type Clonable[T any] interface {
Clone() T
}