package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Dec 24, 2022
License: GPL-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
¶
func Copy(s, ts interface{}) error
Copy 结构体映射
func CopyWithIgnoreEmpty(s interface{}, ts interface{}) (err error)
func MapMerge(s, d map[string]interface{}) map[string]interface{}
MapMerge
type Option struct {
IgnoreEmpty bool
DeepCopy bool
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.