Documentation ¶
Index ¶
- func CanSet(val reflect.Value) bool
- func FindField(val reflect.Value, fieldName string) (reflect.Value, reflect.StructField, bool)
- func GetElem(data interface{}) reflect.Value
- func GetFieldElem(val reflect.Value, fieldName string) reflect.Value
- func GetFieldValue(data interface{}, fieldName string) interface{}
- func IsFieldSlice(data interface{}, fieldName string) bool
- func IsPtr(val reflect.Value) bool
- func IsScanner(field reflect.Value) (sql.Scanner, bool)
- func IsValuer(field reflect.Value) (driver.Valuer, bool)
- func MakeSlice(data interface{}, cap int) reflect.Value
- func TryScan(field reflect.Value, data interface{}) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFieldValue ¶
func GetFieldValue(data interface{}, fieldName string) interface{}
func IsFieldSlice ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.