mirror of
https://github.com/samber/lo.git
synced 2025-09-26 20:11:13 +08:00
7 lines
125 B
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
|
|
}
|