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

7 lines
125 B
Go
Raw Normal View History

2023-12-21 22:17:40 +08:00
package lo
// Clonable defines a constraint of types having Clone() T method.
type Clonable[T any] interface {
Clone() T
}