Discover Packages
gitee.com/iceinto/gfutil/v2
internal
deepcopy
package
Version:
v2.0.0
Opens a new window with list of versions in this module.
Published: Sep 13, 2024
License: MulanPSL-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
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.
type Interface interface {
DeepCopy() interface{}
}
Interface for delegating copy process to type
Source Files
¶
Click to show internal directories.
Click to hide internal directories.