Documentation ¶
Index ¶
- Variables
- func IFaceToEFace(ptr unsafe.Pointer) interface{}
- func IsNil(obj interface{}) bool
- func IsNullable(kind reflect.Kind) bool
- func NoEscape(p unsafe.Pointer) unsafe.Pointer
- func PtrOf(obj interface{}) unsafe.Pointer
- func RTypeOf(obj interface{}) uintptr
- type API
- type ArrayType
- type Config
- type InterfaceType
- type ListType
- type MapIterator
- type MapType
- type PtrType
- type SliceType
- type StructField
- type StructType
- type Type
- type UnsafeArrayType
- func (type2 *UnsafeArrayType) GetIndex(obj interface{}, index int) interface{}
- func (type2 *UnsafeArrayType) Indirect(obj interface{}) interface{}
- func (type2 *UnsafeArrayType) IsNil(obj interface{}) bool
- func (type2 *UnsafeArrayType) LikePtr() bool
- func (type2 *UnsafeArrayType) New() interface{}
- func (type2 *UnsafeArrayType) PackEFace(ptr unsafe.Pointer) interface{}
- func (type2 *UnsafeArrayType) RType() uintptr
- func (type2 *UnsafeArrayType) Set(obj interface{}, val interface{})
- func (type2 *UnsafeArrayType) SetIndex(obj interface{}, index int, elem interface{})
- func (type2 *UnsafeArrayType) UnsafeGetIndex(obj unsafe.Pointer, index int) unsafe.Pointer
- func (type2 *UnsafeArrayType) UnsafeIndirect(ptr unsafe.Pointer) interface{}
- func (type2 *UnsafeArrayType) UnsafeIsNil(ptr unsafe.Pointer) bool
- func (type2 *UnsafeArrayType) UnsafeNew() unsafe.Pointer
- func (type2 *UnsafeArrayType) UnsafeSet(ptr unsafe.Pointer, val unsafe.Pointer)
- func (type2 *UnsafeArrayType) UnsafeSetIndex(obj unsafe.Pointer, index int, elem unsafe.Pointer)
- type UnsafeEFaceType
- func (type2 *UnsafeEFaceType) Indirect(obj interface{}) interface{}
- func (type2 *UnsafeEFaceType) IsNil(obj interface{}) bool
- func (type2 *UnsafeEFaceType) LikePtr() bool
- func (type2 *UnsafeEFaceType) New() interface{}
- func (type2 *UnsafeEFaceType) PackEFace(ptr unsafe.Pointer) interface{}
- func (type2 *UnsafeEFaceType) RType() uintptr
- func (type2 *UnsafeEFaceType) Set(obj interface{}, val interface{})
- func (type2 *UnsafeEFaceType) UnsafeIndirect(ptr unsafe.Pointer) interface{}
- func (type2 *UnsafeEFaceType) UnsafeIsNil(ptr unsafe.Pointer) bool
- func (type2 *UnsafeEFaceType) UnsafeNew() unsafe.Pointer
- func (type2 *UnsafeEFaceType) UnsafeSet(ptr unsafe.Pointer, val unsafe.Pointer)
- type UnsafeIFaceType
- func (type2 *UnsafeIFaceType) Indirect(obj interface{}) interface{}
- func (type2 *UnsafeIFaceType) IsNil(obj interface{}) bool
- func (type2 *UnsafeIFaceType) LikePtr() bool
- func (type2 *UnsafeIFaceType) New() interface{}
- func (type2 *UnsafeIFaceType) PackEFace(ptr unsafe.Pointer) interface{}
- func (type2 *UnsafeIFaceType) RType() uintptr
- func (type2 *UnsafeIFaceType) Set(obj interface{}, val interface{})
- func (type2 *UnsafeIFaceType) UnsafeIndirect(ptr unsafe.Pointer) interface{}
- func (type2 *UnsafeIFaceType) UnsafeIsNil(ptr unsafe.Pointer) bool
- func (type2 *UnsafeIFaceType) UnsafeNew() unsafe.Pointer
- func (type2 *UnsafeIFaceType) UnsafeSet(ptr unsafe.Pointer, val unsafe.Pointer)
- type UnsafeMapIterator
- type UnsafeMapType
- func (type2 *UnsafeMapType) GetIndex(obj interface{}, key interface{}) interface{}
- func (type2 *UnsafeMapType) Indirect(obj interface{}) interface{}
- func (type2 *UnsafeMapType) IsNil(obj interface{}) bool
- func (type2 *UnsafeMapType) Iterate(obj interface{}) MapIterator
- func (type2 *UnsafeMapType) Key() Type
- func (type2 *UnsafeMapType) LikePtr() bool
- func (type2 *UnsafeMapType) MakeMap(cap int) interface{}
- func (type2 *UnsafeMapType) New() interface{}
- func (type2 *UnsafeMapType) PackEFace(ptr unsafe.Pointer) interface{}
- func (type2 *UnsafeMapType) RType() uintptr
- func (type2 *UnsafeMapType) Set(obj interface{}, val interface{})
- func (type2 *UnsafeMapType) SetIndex(obj interface{}, key interface{}, elem interface{})
- func (type2 *UnsafeMapType) TryGetIndex(obj interface{}, key interface{}) (interface{}, bool)
- func (type2 *UnsafeMapType) UnsafeGetIndex(obj unsafe.Pointer, key unsafe.Pointer) unsafe.Pointer
- func (type2 *UnsafeMapType) UnsafeIndirect(ptr unsafe.Pointer) interface{}
- func (type2 *UnsafeMapType) UnsafeIsNil(ptr unsafe.Pointer) bool
- func (type2 *UnsafeMapType) UnsafeIterate(obj unsafe.Pointer) MapIterator
- func (type2 *UnsafeMapType) UnsafeMakeMap(cap int) unsafe.Pointer
- func (type2 *UnsafeMapType) UnsafeNew() unsafe.Pointer
- func (type2 *UnsafeMapType) UnsafeSet(ptr unsafe.Pointer, val unsafe.Pointer)
- func (type2 *UnsafeMapType) UnsafeSetIndex(obj unsafe.Pointer, key unsafe.Pointer, elem unsafe.Pointer)
- type UnsafePtrType
- func (type2 *UnsafePtrType) Indirect(obj interface{}) interface{}
- func (type2 *UnsafePtrType) IsNil(obj interface{}) bool
- func (type2 *UnsafePtrType) LikePtr() bool
- func (type2 *UnsafePtrType) New() interface{}
- func (type2 *UnsafePtrType) PackEFace(ptr unsafe.Pointer) interface{}
- func (type2 *UnsafePtrType) RType() uintptr
- func (type2 *UnsafePtrType) Set(obj interface{}, val interface{})
- func (type2 *UnsafePtrType) UnsafeIndirect(ptr unsafe.Pointer) interface{}
- func (type2 *UnsafePtrType) UnsafeIsNil(ptr unsafe.Pointer) bool
- func (type2 *UnsafePtrType) UnsafeNew() unsafe.Pointer
- func (type2 *UnsafePtrType) UnsafeSet(ptr unsafe.Pointer, val unsafe.Pointer)
- type UnsafeSliceType
- func (type2 *UnsafeSliceType) Append(obj interface{}, elem interface{})
- func (type2 *UnsafeSliceType) Cap(obj interface{}) int
- func (type2 *UnsafeSliceType) GetIndex(obj interface{}, index int) interface{}
- func (type2 *UnsafeSliceType) Grow(obj interface{}, newLength int)
- func (type2 *UnsafeSliceType) Indirect(obj interface{}) interface{}
- func (type2 *UnsafeSliceType) IsNil(obj interface{}) bool
- func (type2 *UnsafeSliceType) LengthOf(obj interface{}) int
- func (type2 *UnsafeSliceType) LikePtr() bool
- func (type2 *UnsafeSliceType) MakeSlice(length int, cap int) interface{}
- func (type2 *UnsafeSliceType) New() interface{}
- func (type2 *UnsafeSliceType) PackEFace(ptr unsafe.Pointer) interface{}
- func (type2 *UnsafeSliceType) RType() uintptr
- func (type2 *UnsafeSliceType) Set(obj interface{}, val interface{})
- func (type2 *UnsafeSliceType) SetIndex(obj interface{}, index int, elem interface{})
- func (type2 *UnsafeSliceType) SetNil(obj interface{})
- func (type2 *UnsafeSliceType) UnsafeAppend(obj unsafe.Pointer, elem unsafe.Pointer)
- func (type2 *UnsafeSliceType) UnsafeCap(ptr unsafe.Pointer) int
- func (type2 *UnsafeSliceType) UnsafeGetIndex(obj unsafe.Pointer, index int) unsafe.Pointer
- func (type2 *UnsafeSliceType) UnsafeGrow(obj unsafe.Pointer, newLength int)
- func (type2 *UnsafeSliceType) UnsafeIndirect(obj unsafe.Pointer) interface{}
- func (type2 *UnsafeSliceType) UnsafeIsNil(ptr unsafe.Pointer) bool
- func (type2 *UnsafeSliceType) UnsafeLengthOf(obj unsafe.Pointer) int
- func (type2 *UnsafeSliceType) UnsafeMakeSlice(length int, cap int) unsafe.Pointer
- func (type2 *UnsafeSliceType) UnsafeNew() unsafe.Pointer
- func (type2 *UnsafeSliceType) UnsafeSet(ptr unsafe.Pointer, val unsafe.Pointer)
- func (type2 *UnsafeSliceType) UnsafeSetIndex(obj unsafe.Pointer, index int, elem unsafe.Pointer)
- func (type2 *UnsafeSliceType) UnsafeSetNil(ptr unsafe.Pointer)
- type UnsafeStructField
- func (field *UnsafeStructField) Anonymous() bool
- func (field *UnsafeStructField) Get(obj interface{}) interface{}
- func (field *UnsafeStructField) Index() []int
- func (field *UnsafeStructField) Name() string
- func (field *UnsafeStructField) Offset() uintptr
- func (field *UnsafeStructField) PkgPath() string
- func (field *UnsafeStructField) Set(obj interface{}, value interface{})
- func (field *UnsafeStructField) Tag() reflect.StructTag
- func (field *UnsafeStructField) Type() Type
- func (field *UnsafeStructField) UnsafeGet(obj unsafe.Pointer) unsafe.Pointer
- func (field *UnsafeStructField) UnsafeSet(obj unsafe.Pointer, value unsafe.Pointer)
- type UnsafeStructType
- func (type2 *UnsafeStructType) Field(i int) StructField
- func (type2 *UnsafeStructType) FieldByIndex(index []int) StructField
- func (type2 *UnsafeStructType) FieldByName(name string) StructField
- func (type2 *UnsafeStructType) FieldByNameFunc(match func(string) bool) StructField
- func (type2 *UnsafeStructType) Indirect(obj interface{}) interface{}
- func (type2 *UnsafeStructType) IsNil(obj interface{}) bool
- func (type2 *UnsafeStructType) LikePtr() bool
- func (type2 *UnsafeStructType) New() interface{}
- func (type2 *UnsafeStructType) PackEFace(ptr unsafe.Pointer) interface{}
- func (type2 *UnsafeStructType) RType() uintptr
- func (type2 *UnsafeStructType) Set(obj interface{}, val interface{})
- func (type2 *UnsafeStructType) UnsafeIndirect(ptr unsafe.Pointer) interface{}
- func (type2 *UnsafeStructType) UnsafeIsNil(ptr unsafe.Pointer) bool
- func (type2 *UnsafeStructType) UnsafeNew() unsafe.Pointer
- func (type2 *UnsafeStructType) UnsafeSet(ptr unsafe.Pointer, val unsafe.Pointer)
Constants ¶
This section is empty.
Variables ¶
View Source
var ConfigSafe = Config{UseSafeImplementation: true}.Froze()
View Source
var ConfigUnsafe = Config{UseSafeImplementation: false}.Froze()
Functions ¶
func IFaceToEFace ¶
func IsNullable ¶
Types ¶
type InterfaceType ¶
type InterfaceType interface {
NumMethod() int
}
type MapIterator ¶
type MapType ¶
type MapType interface { Type Key() Type Elem() Type MakeMap(cap int) interface{} UnsafeMakeMap(cap int) unsafe.Pointer SetIndex(obj interface{}, key interface{}, elem interface{}) UnsafeSetIndex(obj unsafe.Pointer, key unsafe.Pointer, elem unsafe.Pointer) TryGetIndex(obj interface{}, key interface{}) (interface{}, bool) GetIndex(obj interface{}, key interface{}) interface{} UnsafeGetIndex(obj unsafe.Pointer, key unsafe.Pointer) unsafe.Pointer Iterate(obj interface{}) MapIterator UnsafeIterate(obj unsafe.Pointer) MapIterator }
type SliceType ¶
type SliceType interface { ListType MakeSlice(length int, cap int) interface{} UnsafeMakeSlice(length int, cap int) unsafe.Pointer Grow(obj interface{}, newLength int) UnsafeGrow(ptr unsafe.Pointer, newLength int) Append(obj interface{}, elem interface{}) UnsafeAppend(obj unsafe.Pointer, elem unsafe.Pointer) LengthOf(obj interface{}) int UnsafeLengthOf(ptr unsafe.Pointer) int SetNil(obj interface{}) UnsafeSetNil(ptr unsafe.Pointer) Cap(obj interface{}) int UnsafeCap(ptr unsafe.Pointer) int }
type StructField ¶
type StructField interface { Offset() uintptr Name() string PkgPath() string Type() Type Tag() reflect.StructTag Index() []int Anonymous() bool Set(obj interface{}, value interface{}) UnsafeSet(obj unsafe.Pointer, value unsafe.Pointer) Get(obj interface{}) interface{} UnsafeGet(obj unsafe.Pointer) unsafe.Pointer }
type StructType ¶
type StructType interface { Type NumField() int Field(i int) StructField FieldByName(name string) StructField FieldByIndex(index []int) StructField FieldByNameFunc(match func(string) bool) StructField }
type Type ¶
type Type interface { Kind() reflect.Kind // New return pointer to data of this type New() interface{} // UnsafeNew return the allocated space pointed by unsafe.Pointer UnsafeNew() unsafe.Pointer // PackEFace cast a unsafe pointer to object represented pointer PackEFace(ptr unsafe.Pointer) interface{} // Indirect dereference object represented pointer to this type Indirect(obj interface{}) interface{} // UnsafeIndirect dereference pointer to this type UnsafeIndirect(ptr unsafe.Pointer) interface{} // Type1 returns reflect.Type Type1() reflect.Type Implements(thatType Type) bool String() string RType() uintptr // interface{} of this type has pointer like behavior LikePtr() bool IsNullable() bool IsNil(obj interface{}) bool UnsafeIsNil(ptr unsafe.Pointer) bool Set(obj interface{}, val interface{}) UnsafeSet(ptr unsafe.Pointer, val unsafe.Pointer) AssignableTo(anotherType Type) bool }
func DefaultTypeOfKind ¶
DefaultTypeOfKind return the non aliased default type for the kind
func TypeByName ¶
TypeByName return the type by its name, just like Class.forName in java
type UnsafeArrayType ¶
type UnsafeArrayType struct {
// contains filtered or unexported fields
}
func (*UnsafeArrayType) GetIndex ¶
func (type2 *UnsafeArrayType) GetIndex(obj interface{}, index int) interface{}
func (*UnsafeArrayType) Indirect ¶
func (type2 *UnsafeArrayType) Indirect(obj interface{}) interface{}
func (*UnsafeArrayType) LikePtr ¶
func (type2 *UnsafeArrayType) LikePtr() bool
func (*UnsafeArrayType) SetIndex ¶
func (type2 *UnsafeArrayType) SetIndex(obj interface{}, index int, elem interface{})
func (*UnsafeArrayType) UnsafeGetIndex ¶
func (*UnsafeArrayType) UnsafeIndirect ¶
func (type2 *UnsafeArrayType) UnsafeIndirect(ptr unsafe.Pointer) interface{}
func (*UnsafeArrayType) UnsafeIsNil ¶
func (*UnsafeArrayType) UnsafeSetIndex ¶
type UnsafeEFaceType ¶
type UnsafeEFaceType struct {
// contains filtered or unexported fields
}
func (*UnsafeEFaceType) Indirect ¶
func (type2 *UnsafeEFaceType) Indirect(obj interface{}) interface{}
func (*UnsafeEFaceType) IsNil ¶
func (type2 *UnsafeEFaceType) IsNil(obj interface{}) bool
func (*UnsafeEFaceType) UnsafeIndirect ¶
func (type2 *UnsafeEFaceType) UnsafeIndirect(ptr unsafe.Pointer) interface{}
func (*UnsafeEFaceType) UnsafeIsNil ¶
func (type2 *UnsafeEFaceType) UnsafeIsNil(ptr unsafe.Pointer) bool
type UnsafeIFaceType ¶
type UnsafeIFaceType struct {
// contains filtered or unexported fields
}
func (*UnsafeIFaceType) Indirect ¶
func (type2 *UnsafeIFaceType) Indirect(obj interface{}) interface{}
func (*UnsafeIFaceType) IsNil ¶
func (type2 *UnsafeIFaceType) IsNil(obj interface{}) bool
func (*UnsafeIFaceType) UnsafeIndirect ¶
func (type2 *UnsafeIFaceType) UnsafeIndirect(ptr unsafe.Pointer) interface{}
func (*UnsafeIFaceType) UnsafeIsNil ¶
func (type2 *UnsafeIFaceType) UnsafeIsNil(ptr unsafe.Pointer) bool
type UnsafeMapIterator ¶
type UnsafeMapIterator struct {
// contains filtered or unexported fields
}
func (*UnsafeMapIterator) HasNext ¶
func (iter *UnsafeMapIterator) HasNext() bool
func (*UnsafeMapIterator) Next ¶
func (iter *UnsafeMapIterator) Next() (interface{}, interface{})
func (*UnsafeMapIterator) UnsafeNext ¶
func (iter *UnsafeMapIterator) UnsafeNext() (unsafe.Pointer, unsafe.Pointer)
type UnsafeMapType ¶
type UnsafeMapType struct {
// contains filtered or unexported fields
}
func (*UnsafeMapType) GetIndex ¶
func (type2 *UnsafeMapType) GetIndex(obj interface{}, key interface{}) interface{}
func (*UnsafeMapType) Indirect ¶
func (type2 *UnsafeMapType) Indirect(obj interface{}) interface{}
func (*UnsafeMapType) IsNil ¶
func (type2 *UnsafeMapType) IsNil(obj interface{}) bool
func (*UnsafeMapType) Iterate ¶
func (type2 *UnsafeMapType) Iterate(obj interface{}) MapIterator
func (*UnsafeMapType) Key ¶
func (type2 *UnsafeMapType) Key() Type
func (*UnsafeMapType) LikePtr ¶
func (type2 *UnsafeMapType) LikePtr() bool
func (*UnsafeMapType) MakeMap ¶
func (type2 *UnsafeMapType) MakeMap(cap int) interface{}
func (*UnsafeMapType) SetIndex ¶
func (type2 *UnsafeMapType) SetIndex(obj interface{}, key interface{}, elem interface{})
func (*UnsafeMapType) TryGetIndex ¶
func (type2 *UnsafeMapType) TryGetIndex(obj interface{}, key interface{}) (interface{}, bool)
func (*UnsafeMapType) UnsafeGetIndex ¶
func (*UnsafeMapType) UnsafeIndirect ¶
func (type2 *UnsafeMapType) UnsafeIndirect(ptr unsafe.Pointer) interface{}
func (*UnsafeMapType) UnsafeIsNil ¶
func (type2 *UnsafeMapType) UnsafeIsNil(ptr unsafe.Pointer) bool
func (*UnsafeMapType) UnsafeIterate ¶
func (type2 *UnsafeMapType) UnsafeIterate(obj unsafe.Pointer) MapIterator
func (*UnsafeMapType) UnsafeMakeMap ¶
func (type2 *UnsafeMapType) UnsafeMakeMap(cap int) unsafe.Pointer
func (*UnsafeMapType) UnsafeSetIndex ¶
type UnsafePtrType ¶
type UnsafePtrType struct {
// contains filtered or unexported fields
}
func (*UnsafePtrType) Indirect ¶
func (type2 *UnsafePtrType) Indirect(obj interface{}) interface{}
func (*UnsafePtrType) IsNil ¶
func (type2 *UnsafePtrType) IsNil(obj interface{}) bool
func (*UnsafePtrType) LikePtr ¶
func (type2 *UnsafePtrType) LikePtr() bool
func (*UnsafePtrType) UnsafeIndirect ¶
func (type2 *UnsafePtrType) UnsafeIndirect(ptr unsafe.Pointer) interface{}
func (*UnsafePtrType) UnsafeIsNil ¶
func (type2 *UnsafePtrType) UnsafeIsNil(ptr unsafe.Pointer) bool
type UnsafeSliceType ¶
type UnsafeSliceType struct {
// contains filtered or unexported fields
}
func (*UnsafeSliceType) Append ¶
func (type2 *UnsafeSliceType) Append(obj interface{}, elem interface{})
func (*UnsafeSliceType) Cap ¶
func (type2 *UnsafeSliceType) Cap(obj interface{}) int
func (*UnsafeSliceType) GetIndex ¶
func (type2 *UnsafeSliceType) GetIndex(obj interface{}, index int) interface{}
func (*UnsafeSliceType) Grow ¶
func (type2 *UnsafeSliceType) Grow(obj interface{}, newLength int)
func (*UnsafeSliceType) Indirect ¶
func (type2 *UnsafeSliceType) Indirect(obj interface{}) interface{}
func (*UnsafeSliceType) IsNil ¶
func (type2 *UnsafeSliceType) IsNil(obj interface{}) bool
func (*UnsafeSliceType) LengthOf ¶
func (type2 *UnsafeSliceType) LengthOf(obj interface{}) int
func (*UnsafeSliceType) MakeSlice ¶
func (type2 *UnsafeSliceType) MakeSlice(length int, cap int) interface{}
func (*UnsafeSliceType) Set ¶
func (type2 *UnsafeSliceType) Set(obj interface{}, val interface{})
func (*UnsafeSliceType) SetIndex ¶
func (type2 *UnsafeSliceType) SetIndex(obj interface{}, index int, elem interface{})
func (*UnsafeSliceType) SetNil ¶
func (type2 *UnsafeSliceType) SetNil(obj interface{})
func (*UnsafeSliceType) UnsafeAppend ¶
func (type2 *UnsafeSliceType) UnsafeAppend(obj unsafe.Pointer, elem unsafe.Pointer)
func (*UnsafeSliceType) UnsafeGetIndex ¶
func (*UnsafeSliceType) UnsafeGrow ¶
func (type2 *UnsafeSliceType) UnsafeGrow(obj unsafe.Pointer, newLength int)
func (*UnsafeSliceType) UnsafeIndirect ¶
func (*UnsafeSliceType) UnsafeIsNil ¶
func (type2 *UnsafeSliceType) UnsafeIsNil(ptr unsafe.Pointer) bool
func (*UnsafeSliceType) UnsafeLengthOf ¶
func (type2 *UnsafeSliceType) UnsafeLengthOf(obj unsafe.Pointer) int
func (*UnsafeSliceType) UnsafeMakeSlice ¶
func (type2 *UnsafeSliceType) UnsafeMakeSlice(length int, cap int) unsafe.Pointer
func (*UnsafeSliceType) UnsafeSet ¶
func (type2 *UnsafeSliceType) UnsafeSet(ptr unsafe.Pointer, val unsafe.Pointer)
func (*UnsafeSliceType) UnsafeSetIndex ¶
func (*UnsafeSliceType) UnsafeSetNil ¶
func (type2 *UnsafeSliceType) UnsafeSetNil(ptr unsafe.Pointer)
type UnsafeStructField ¶
type UnsafeStructField struct { reflect.StructField // contains filtered or unexported fields }
func (*UnsafeStructField) Anonymous ¶
func (field *UnsafeStructField) Anonymous() bool
func (*UnsafeStructField) Get ¶
func (field *UnsafeStructField) Get(obj interface{}) interface{}
func (*UnsafeStructField) Index ¶
func (field *UnsafeStructField) Index() []int
func (*UnsafeStructField) Name ¶
func (field *UnsafeStructField) Name() string
func (*UnsafeStructField) Offset ¶
func (field *UnsafeStructField) Offset() uintptr
func (*UnsafeStructField) PkgPath ¶
func (field *UnsafeStructField) PkgPath() string
func (*UnsafeStructField) Set ¶
func (field *UnsafeStructField) Set(obj interface{}, value interface{})
func (*UnsafeStructField) Tag ¶
func (field *UnsafeStructField) Tag() reflect.StructTag
func (*UnsafeStructField) Type ¶
func (field *UnsafeStructField) Type() Type
type UnsafeStructType ¶
type UnsafeStructType struct {
// contains filtered or unexported fields
}
func (*UnsafeStructType) Field ¶
func (type2 *UnsafeStructType) Field(i int) StructField
func (*UnsafeStructType) FieldByIndex ¶
func (type2 *UnsafeStructType) FieldByIndex(index []int) StructField
func (*UnsafeStructType) FieldByName ¶
func (type2 *UnsafeStructType) FieldByName(name string) StructField
func (*UnsafeStructType) FieldByNameFunc ¶
func (type2 *UnsafeStructType) FieldByNameFunc(match func(string) bool) StructField
func (*UnsafeStructType) Indirect ¶
func (type2 *UnsafeStructType) Indirect(obj interface{}) interface{}
func (*UnsafeStructType) LikePtr ¶
func (type2 *UnsafeStructType) LikePtr() bool
func (*UnsafeStructType) UnsafeIndirect ¶
func (type2 *UnsafeStructType) UnsafeIndirect(ptr unsafe.Pointer) interface{}
func (*UnsafeStructType) UnsafeIsNil ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.