Documentation
¶
Index ¶
- func DeepCopy(src, dst interface{})
- func GetKind(v interface{}) reflect.Kind
- func GetLengthOfCollection(item interface{}) (length int)
- func GetType(v interface{}) reflect.Type
- func GetTypeEx(v interface{}, getUnderlyingType bool) reflect.Type
- func GetUnderlyingType(t reflect.Type) reflect.Type
- func GetValue(v interface{}) reflect.Value
- func New(t reflect.Type) interface{}
- func NewEx(t reflect.Type, byUnderlyingType bool) interface{}
- type Object
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLengthOfCollection ¶
func GetLengthOfCollection(item interface{}) (length int)
GetLengthOfCollection 获取集合的长度
func GetUnderlyingType ¶
GetUnderlyingType 获取底层类型
Types ¶
type Object ¶
type Object struct {
// contains filtered or unexported fields
}
Object 对象类
func NewObjectEx ¶
NewObjectEx 根据类型的底层类型创建新的对象(返回值为新对象的地址)
func (*Object) GetUnderlyingType ¶
GetUnderlyingType 获取底层类型
Click to show internal directories.
Click to hide internal directories.