Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeepCopy ¶
func DeepCopy(src interface{}) interface{}
DeepCopy recursively copies the given struct, slices, arrays, maps and pointers
func DeepCopySerialized ¶
func DeepCopySerialized(src interface{}) interface{}
DeepCopySerialized performs a deep copy using encoding/gob
Types ¶
type DeepCopyable ¶
type DeepCopyable interface {
DeepCopy() DeepCopyable
}
type DeepCopyableSerialized ¶
type DeepCopyableSerialized interface {
DeepCopySerialized() DeepCopyableSerialized
}
Click to show internal directories.
Click to hide internal directories.