mirror of
https://github.com/MontFerret/ferret.git
synced 2024-12-14 11:23:02 +02:00
f91fbf6f8c
* rename method Clone to Copy * added Cloneable interface * added Value to Cloneable interface * implemented Cloneable intefrace by array * implemented Cloneable interface by Object * unit tests for Object.Clone * move core.IsCloneable to value.go * change Clone function * move IsClonable to package values
7 lines
69 B
Go
7 lines
69 B
Go
package core
|
|
|
|
type Cloneable interface {
|
|
Value
|
|
Clone() Cloneable
|
|
}
|