Documentation
¶
Index ¶
- func GetField(obj interface{}, name string) (i interface{}, err error)
- func IsArray(data interface{}) bool
- func IsBytes(data interface{}) bool
- func IsMap(data interface{}) bool
- func IsSlice(data interface{}) bool
- func IsString(data interface{}) bool
- func MakeValueType(ptr reflect.Type) reflect.Type
- func SetField(obj interface{}, name string, value interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeValueType ¶
MakeValueType 将ptr类型的Type转换为val类型的Type
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.