Discover Packages
github.com/zuoyebang/bitalostored
butils
deepcopy
package
Version:
v0.0.0-...-9b3b26b
Opens a new window with list of versions in this module.
Published: Jul 23, 2024
License: Apache-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.
func Iface(iface interface{}) interface{}
Iface is an alias to Copy; this exists for backwards compatibility reasons.
type Interface interface {
DeepCopy() interface{}
}
Interface for delegating copy process to type
Source Files
¶
Click to show internal directories.
Click to hide internal directories.