Documentation ¶
Overview ¶
Package gtbox_reflect 反射方法工具库
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFieldIndex ¶ added in v0.0.93
GetFieldIndex 获取给定字段名在结构体中的索引
func GetFieldNameAtIndex ¶ added in v0.0.92
GetFieldNameAtIndex 获取指定索引位置的--字段名
func GetFieldValueAtIndex ¶ added in v0.0.92
GetFieldValueAtIndex 获取指定索引位置的字段--Value值
func GetNumberOfFieldWithModel ¶
func GetNumberOfFieldWithModel(customModel interface{}) int
GetNumberOfFieldWithModel 获取Model的字段数量支持指针、非指针传入
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.