package
Version:
v0.0.0-...-d506493
Opens a new window with list of versions in this module.
Published: Aug 21, 2024
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
¶
func Copy(src interface{}) interface{}
Copy 创建一个深度复制的副本,将传递给它的内容返回为一个接口{}。返回的值需要进行类型断言以获取正确的类型。
md5:e0d2ca231ef6877f
type Interface interface {
DeepCopy() interface{}
}
用于将复制过程委派给类型的接口. md5:1c1a67064d6703f2
Source Files
¶
Click to show internal directories.
Click to hide internal directories.