Documentation
¶
Index ¶
- func Add(a, b reflect.Value) (interface{}, error)
- func Div(a, b reflect.Value) (interface{}, error)
- func GetRawTypeValue(rs []reflect.Value) (reflect.Value, error)
- func GetStructAttributeValue(obj reflect.Value, fieldName string) (reflect.Value, error)
- func GetWantedValue(newValue reflect.Value, toKind reflect.Type) (reflect.Value, error)
- func InvokeFunction(obj reflect.Value, methodName string, parameters []reflect.Value) (reflect.Value, error)
- func IsNil(v interface{}) bool
- func Mul(a, b reflect.Value) (interface{}, error)
- func ParamsTypeChange(f reflect.Value, params []reflect.Value) []reflect.Value
- func SetAttributeValue(obj reflect.Value, fieldName string, value reflect.Value) error
- func SetSingleValue(obj reflect.Value, fieldName string, value reflect.Value) error
- func Sub(a, b reflect.Value) (interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRawTypeValue ¶
* if want to support multi return ,change this method implements
func GetStructAttributeValue ¶
func GetWantedValue ¶
func InvokeFunction ¶
func ParamsTypeChange ¶
number type exchange
func SetAttributeValue ¶
* set field value
func SetSingleValue ¶
set single value
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.