Versions in this module Expand all Collapse all v0 v0.0.1 Jul 6, 2019 Changes in this version + const OBJECT_COSTOM + const OBJECT_MAP + const OBJECT_SIMPLETYPE + const OBJECT_SLICE + const OBJECT_STRUCT + const OBJECT_UNKNOWN + var BOOL_DEFAULT bool + var BYTE_DEFAULT byte + var BoolKind = BoolType.Kind() + var BoolType = reflect.TypeOf(BOOL_DEFAULT) + var ByteKind = ByteType.Kind() + var ByteType = reflect.TypeOf(BYTE_DEFAULT) + var BytesKind = BytesType.Kind() + var BytesType = reflect.SliceOf(ByteType) + var COMPLEX128_DEFAULT complex128 + var COMPLEX64_DEFAULT complex64 + var Complex128Kind = Complex128Type.Kind() + var Complex128Type = reflect.TypeOf(COMPLEX128_DEFAULT) + var Complex64Kind = Complex64Type.Kind() + var Complex64Type = reflect.TypeOf(COMPLEX64_DEFAULT) + var EMPTY_STRING string + var FLOAT32_DEFAULT float32 + var FLOAT64_DEFAULT float64 + var Float32Kind = Float32Type.Kind() + var Float32Type = reflect.TypeOf(FLOAT32_DEFAULT) + var Float64Kind = Float64Type.Kind() + var Float64Type = reflect.TypeOf(FLOAT64_DEFAULT) + var INT16_DEFAULT int16 + var INT32_DEFAULT int32 + var INT64_DEFAULT int64 + var INT8_DEFAULT int8 + var INT_DEFAULT int + var Int16Kind = Int16Type.Kind() + var Int16Type = reflect.TypeOf(INT16_DEFAULT) + var Int32Kind = Int32Type.Kind() + var Int32Type = reflect.TypeOf(INT32_DEFAULT) + var Int64Kind = Int64Type.Kind() + var Int64Type = reflect.TypeOf(INT64_DEFAULT) + var Int8Kind = Int8Type.Kind() + var Int8Type = reflect.TypeOf(INT8_DEFAULT) + var IntKind = IntType.Kind() + var IntType = reflect.TypeOf(INT_DEFAULT) + var SqlType2GoType = map[string]reflect.Type + var StringKind = StringType.Kind() + var StringType = reflect.TypeOf(EMPTY_STRING) + var TIME_DEFAULT time.Time + var TimeKind = TimeType.Kind() + var TimeType = reflect.TypeOf(TIME_DEFAULT) + var UINT16_DEFAULT uint16 + var UINT32_DEFAULT uint32 + var UINT64_DEFAULT uint64 + var UINT8_DEFAULT uint8 + var UINT_DEFAULT uint + var Uint16Kind = Uint16Type.Kind() + var Uint16Type = reflect.TypeOf(UINT16_DEFAULT) + var Uint32Kind = Uint32Type.Kind() + var Uint32Type = reflect.TypeOf(UINT32_DEFAULT) + var Uint64Kind = Uint64Type.Kind() + var Uint64Type = reflect.TypeOf(UINT64_DEFAULT) + var Uint8Kind = Uint8Type.Kind() + var Uint8Type = reflect.TypeOf(UINT8_DEFAULT) + var UintKind = UintType.Kind() + var UintType = reflect.TypeOf(UINT_DEFAULT) + func CanSet(i interface{}) bool + func GetBeanClassName(model interface{}) string + func GetTypeClassName(rt reflect.Type) string + func IsNil(i interface{}) bool + func IsSimpleObject(bean interface{}) bool + func IsSimpleType(t reflect.Type) bool + func MustPtr(bean interface{}) error + func MustPtrValue(beanValue reflect.Value) error + func New(t reflect.Type) interface + func NewValue(t reflect.Type) reflect.Value + func ParseParams(params ...interface{}) map[string]interface + func ParseSliceParamString(src string) []string + func ReflectValue(bean interface{}) reflect.Value + func SafeSetValue(f reflect.Value, v interface{}) bool + func SetModelNameType(mtype reflect.Type) + func SetValue(f reflect.Value, v interface{}) bool + func ToSlice(arr interface{}) []interface + type MapInfo struct + ClassName string + ElemType reflect.Type + func (o *MapInfo) AddValue(v reflect.Value) + func (o *MapInfo) CanAddValue() bool + func (o *MapInfo) CanSet(v reflect.Value) bool + func (o *MapInfo) CanSetField() bool + func (o *MapInfo) GetClassName() string + func (o *MapInfo) Kind() int + func (o *MapInfo) New() Object + func (o *MapInfo) NewElem() Object + func (o *MapInfo) SetField(name string, ov interface{}) + func (o *MapInfo) SetValue(v reflect.Value) + type Newable struct + Type reflect.Type + func (o *Newable) NewValue() reflect.Value + type Object interface + AddValue func(v reflect.Value) + CanAddValue func() bool + CanSet func(v reflect.Value) bool + CanSetField func() bool + GetClassName func() string + GetValue func() reflect.Value + Kind func() int + New func() Object + NewElem func() Object + NewValue func() reflect.Value + ResetValue func(v reflect.Value) + SetField func(name string, v interface{}) + SetValue func(v reflect.Value) + func GetObjectInfo(model interface{}) (Object, error) + func GetReflectMapInfo(rt reflect.Type, rv reflect.Value) (Object, error) + func GetReflectObjectInfo(rt reflect.Type, rv reflect.Value) (Object, error) + func GetReflectSimpleTypeInfo(rt reflect.Type, rv reflect.Value) (Object, error) + func GetReflectSliceInfo(rt reflect.Type, rv reflect.Value) (Object, error) + type Setable struct + Value reflect.Value + func (o *Setable) CanSet(v reflect.Value) bool + func (o *Setable) GetValue() reflect.Value + func (o *Setable) ResetValue(v reflect.Value) + func (o *Setable) SetValue(v reflect.Value) + type SimpleTypeInfo struct + ClassName string + func (o *SimpleTypeInfo) AddValue(v reflect.Value) + func (o *SimpleTypeInfo) CanAddValue() bool + func (o *SimpleTypeInfo) CanSet(v reflect.Value) bool + func (o *SimpleTypeInfo) CanSetField() bool + func (o *SimpleTypeInfo) GetClassName() string + func (o *SimpleTypeInfo) Kind() int + func (o *SimpleTypeInfo) New() Object + func (o *SimpleTypeInfo) NewElem() Object + func (o *SimpleTypeInfo) SetField(name string, ov interface{}) + func (o *SimpleTypeInfo) SetValue(v reflect.Value) + type SliceInfo struct + ClassName string + Elem Object + func (o *SliceInfo) AddValue(v reflect.Value) + func (o *SliceInfo) CanAddValue() bool + func (o *SliceInfo) CanSetField() bool + func (o *SliceInfo) GetClassName() string + func (o *SliceInfo) Kind() int + func (o *SliceInfo) New() Object + func (o *SliceInfo) NewElem() Object + func (o *SliceInfo) SetField(name string, v interface{}) + type StructInfo struct + ClassName string + FieldNameMap map[string]string + Name string + func GetReflectStructInfo(rt reflect.Type, rv reflect.Value) (*StructInfo, error) + func GetStructInfo(bean interface{}) (*StructInfo, error) + func (o *StructInfo) AddValue(v reflect.Value) + func (o *StructInfo) CanAddValue() bool + func (o *StructInfo) CanSetField() bool + func (o *StructInfo) GetClassName() string + func (o *StructInfo) Kind() int + func (o *StructInfo) New() Object + func (o *StructInfo) NewElem() Object + func (o *StructInfo) SetField(name string, ov interface{}) + func (ti *StructInfo) FillMapValue(paramMap *map[string]interface{}) + func (ti *StructInfo) MapValue() map[string]interface{}