Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetStructAllFields ¶
func GetStructAllFields(target interface{})
*
- @func: GetStructAllFields 打印结构体的所有键值
- @author Wiidz
- @date 2019-11-16
func GetStructAllKV ¶
func GetStructAllKV(target interface{})
*
- @func: GetStructAllFields 打印结构体的所有键值对
- @author Wiidz
- @date 2019-11-16
func GetStructAllMethods ¶
func GetStructAllMethods(target interface{})
*
- @func: GetStructAllMethods 打印结构体的所有方法
- @author Wiidz
- @date 2019-11-16
func GetStructPointAllKV ¶ added in v1.5.6
func GetStructPointAllKV(target interface{})
*
- @func: GetStructAllFields 打印结构体的所有键值对
- @author Wiidz
- @date 2019-11-16
func GetValueByKeyName ¶ added in v1.5.6
func GetValueByKeyName(targetStruct interface{}, keyName string) interface{}
GetValueByKeyName 根据键名获取结构体中的数据
Types ¶
Click to show internal directories.
Click to hide internal directories.