Documentation ¶
Overview ¶
Package deepcopy makes deep copies of things using reflection.
This package is maintained from: https://github.com/mohae/deepcopy
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Copy ¶
func Copy(src interface{}) interface{}
Copy creates a deep copy of whatever is passed to it and returns the copy in an interface{}. The returned value will need to be asserted to the correct type.
Types ¶
type Interface ¶
type Interface interface {
DeepCopy() interface{}
}
Interface for delegating copy process to type
Click to show internal directories.
Click to hide internal directories.