Documentation ¶
Index ¶
- func GetDataByFieldName(data interface{}, filedName string) (interface{}, error)
- func IsZero(v interface{}) bool
- func New(v interface{}) interface{}
- func NewArray(v interface{}) interface{}
- func StructName(st interface{}) string
- func ToMap(st interface{}) map[string]interface{}
- func ToSlice(arr interface{}) []interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDataByFieldName ¶
reflect value via field name
func New ¶ added in v1.20.0
func New(v interface{}) interface{}
New returns a Value representing a pointer to a new zero value
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.