mirror of
https://github.com/samber/lo.git
synced 2025-10-01 06:12:10 +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
|
|
}
|