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

7 lines
125 B
Go
Raw Permalink Normal View History

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