mirror of
https://github.com/MontFerret/ferret.git
synced 2025-11-23 21:54:45 +02:00
Feature/#95 deepclone (#101)
* 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
This commit is contained in:
6
pkg/runtime/core/cloneable.go
Normal file
6
pkg/runtime/core/cloneable.go
Normal file
@@ -0,0 +1,6 @@
|
||||
package core
|
||||
|
||||
type Cloneable interface {
|
||||
Value
|
||||
Clone() Cloneable
|
||||
}
|
||||
Reference in New Issue
Block a user