Discover Packages
github.com/SupenBysz/gf-admin-community
utility
deepcopy
package
Version:
v0.2.90
Opens a new window with list of versions in this module.
Published: Jan 17, 2023
License: MIT
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.