Documentation
¶
Index ¶
- func AllFieldName(value interface{}) ([]string, error)
- func AllFieldValue(value interface{}) (map[string]interface{}, error)
- func DeepCopy(src interface{}) interface{}
- func NonZeroFieldName(value interface{}) ([]string, error)
- func NonZeroFieldValue(value interface{}) (map[string]interface{}, error)
- func SetFieldValue(structPtr any, values map[string]any, checkMissingField ...bool) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllFieldName ¶ added in v0.0.49
AllFieldName 返回结构体的所有字段
func AllFieldValue ¶ added in v0.0.46
AllFieldValue 返回结构体的所有字段的值
func NonZeroFieldName ¶ added in v0.0.49
NonZeroFieldName 返回结构体的非零字段
func NonZeroFieldValue ¶
NonZeroFieldValue 返回结构体的非零字段的值
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.