package
Version:
v0.0.18
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: 2
Opens a new window with list of known importers.
Documentation
¶
func CopySameFields(src, dst interface{}) error
CopySameFields 复制结构体中相同的字段相同类型的属性值
func DeepCopy(src interface{}) interface{}
DeepCopy 深拷贝 源和目标需要是同类型的
func NonZeroFieldValue(value interface{}) (map[string]interface{}, error)
NonZeroFieldValue 返回结构体的非零字段的值
Source Files
¶
Click to show internal directories.
Click to hide internal directories.