service/vendor/github.com/samber/lo/constraints.go

7 lines
125 B
Go

package lo
// Clonable defines a constraint of types having Clone() T method.
type Clonable[T any] interface {
Clone() T
}