package
module
Version:
v0.0.2
Opens a new window with list of versions in this module.
Published: Jul 19, 2021
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Documentation
¶
func CopyStruct(toVal interface{}, fromVal interface{}) (err error)
直接copy,结构体必须命名一致,不一致的忽略不copy
func CopyStructTag(toValue interface{}, fromValue interface{}, tag string) (err error)
使用 Tag copy
Source Files
¶
Click to show internal directories.
Click to hide internal directories.