Documentation ¶
Index ¶
- func GetAllFieldName(m interface{}) ([]string, error)
- func GetFieldByName(m interface{}, n string) (reflect.StructField, error)
- func GetFieldValueByName(m interface{}, n string) reflect.Value
- func GetType(m interface{}) reflect.Type
- func GetValueByName(m interface{}, n string) interface{}
- func IsPoint(m interface{}) bool
- func NilOrZero(m interface{}, fs string) bool
- func SetFieldValue(m interface{}, n string, v reflect.Value) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAllFieldName ¶
func GetFieldByName ¶
func GetFieldByName(m interface{}, n string) (reflect.StructField, error)
func GetFieldValueByName ¶
func GetValueByName ¶
func GetValueByName(m interface{}, n string) interface{}
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.