type github.com/modern-go/reflect2.Type (interface)
Method Implmentations
AssignableTo(anotherType Type) bool
ArrayType.AssignableTo
ListType.AssignableTo
MapType.AssignableTo
PtrType.AssignableTo
SliceType.AssignableTo
StructType.AssignableTo
(*UnsafeArrayType).unsafeType.safeType.AssignableTo
(*UnsafeEFaceType).unsafeType.safeType.AssignableTo
(*UnsafeIFaceType).unsafeType.safeType.AssignableTo
(*UnsafeMapType).unsafeType.safeType.AssignableTo
(*UnsafePtrType).unsafeType.safeType.AssignableTo
(*UnsafeSliceType).unsafeType.safeType.AssignableTo
(*UnsafeStructType).unsafeType.safeType.AssignableTo
Implements(thatType Type) bool
ArrayType.Implements
ListType.Implements
MapType.Implements
PtrType.Implements
SliceType.Implements
StructType.Implements
(*UnsafeArrayType).unsafeType.safeType.Implements
(*UnsafeEFaceType).unsafeType.safeType.Implements
(*UnsafeIFaceType).unsafeType.safeType.Implements
(*UnsafeMapType).unsafeType.safeType.Implements
(*UnsafePtrType).unsafeType.safeType.Implements
(*UnsafeSliceType).unsafeType.safeType.Implements
(*UnsafeStructType).unsafeType.safeType.Implements
Indirect(obj interface{}) interface{}
ArrayType.Indirect
ListType.Indirect
MapType.Indirect
PtrType.Indirect
SliceType.Indirect
StructType.Indirect
(*UnsafeArrayType).Indirect
(*UnsafeEFaceType).Indirect
(*UnsafeIFaceType).Indirect
(*UnsafeMapType).Indirect
(*UnsafePtrType).Indirect
(*UnsafeSliceType).unsafeType.Indirect
(*UnsafeStructType).Indirect
IsNil(obj interface{}) bool
ArrayType.IsNil
ListType.IsNil
MapType.IsNil
PtrType.IsNil
SliceType.IsNil
StructType.IsNil
(*UnsafeArrayType).unsafeType.IsNil
(*UnsafeEFaceType).IsNil
(*UnsafeIFaceType).IsNil
(*UnsafeMapType).IsNil
(*UnsafePtrType).IsNil
(*UnsafeSliceType).IsNil
(*UnsafeStructType).unsafeType.IsNil
IsNullable() bool
ArrayType.IsNullable
ListType.IsNullable
MapType.IsNullable
PtrType.IsNullable
SliceType.IsNullable
StructType.IsNullable
(*UnsafeArrayType).unsafeType.safeType.IsNullable
(*UnsafeEFaceType).unsafeType.safeType.IsNullable
(*UnsafeIFaceType).unsafeType.safeType.IsNullable
(*UnsafeMapType).unsafeType.safeType.IsNullable
(*UnsafePtrType).unsafeType.safeType.IsNullable
(*UnsafeSliceType).unsafeType.safeType.IsNullable
(*UnsafeStructType).unsafeType.safeType.IsNullable
Kind() reflect.Kind
ArrayType.Kind
ListType.Kind
MapType.Kind
PtrType.Kind
SliceType.Kind
StructType.Kind
(*UnsafeArrayType).unsafeType.safeType.Type.Kind
(*UnsafeEFaceType).unsafeType.safeType.Type.Kind
(*UnsafeIFaceType).unsafeType.safeType.Type.Kind
(*UnsafeMapType).unsafeType.safeType.Type.Kind
(*UnsafePtrType).unsafeType.safeType.Type.Kind
(*UnsafeSliceType).unsafeType.safeType.Type.Kind
(*UnsafeStructType).unsafeType.safeType.Type.Kind
LikePtr() bool
ArrayType.LikePtr
ListType.LikePtr
MapType.LikePtr
PtrType.LikePtr
SliceType.LikePtr
StructType.LikePtr
(*UnsafeArrayType).LikePtr
(*UnsafeEFaceType).unsafeType.LikePtr
(*UnsafeIFaceType).unsafeType.LikePtr
(*UnsafeMapType).LikePtr
(*UnsafePtrType).LikePtr
(*UnsafeSliceType).unsafeType.LikePtr
(*UnsafeStructType).LikePtr
New() interface{}
ArrayType.New
ListType.New
MapType.New
PtrType.New
SliceType.New
StructType.New
(*UnsafeArrayType).unsafeType.New
(*UnsafeEFaceType).unsafeType.New
(*UnsafeIFaceType).unsafeType.New
(*UnsafeMapType).unsafeType.New
(*UnsafePtrType).unsafeType.New
(*UnsafeSliceType).unsafeType.New
(*UnsafeStructType).unsafeType.New
PackEFace(ptr unsafe.Pointer) interface{}
ArrayType.PackEFace
ListType.PackEFace
MapType.PackEFace
PtrType.PackEFace
SliceType.PackEFace
StructType.PackEFace
(*UnsafeArrayType).unsafeType.PackEFace
(*UnsafeEFaceType).unsafeType.PackEFace
(*UnsafeIFaceType).unsafeType.PackEFace
(*UnsafeMapType).unsafeType.PackEFace
(*UnsafePtrType).unsafeType.PackEFace
(*UnsafeSliceType).unsafeType.PackEFace
(*UnsafeStructType).unsafeType.PackEFace
RType() uintptr
ArrayType.RType
ListType.RType
MapType.RType
PtrType.RType
SliceType.RType
StructType.RType
(*UnsafeArrayType).unsafeType.RType
(*UnsafeEFaceType).unsafeType.RType
(*UnsafeIFaceType).unsafeType.RType
(*UnsafeMapType).unsafeType.RType
(*UnsafePtrType).unsafeType.RType
(*UnsafeSliceType).unsafeType.RType
(*UnsafeStructType).unsafeType.RType
Set(obj interface{}, val interface{})
ArrayType.Set
ListType.Set
MapType.Set
PtrType.Set
SliceType.Set
StructType.Set
(*UnsafeArrayType).unsafeType.Set
(*UnsafeEFaceType).unsafeType.Set
(*UnsafeIFaceType).unsafeType.Set
(*UnsafeMapType).unsafeType.Set
(*UnsafePtrType).unsafeType.Set
(*UnsafeSliceType).Set
(*UnsafeStructType).unsafeType.Set
String() string
ArrayType.String
ListType.String
MapType.String
PtrType.String
SliceType.String
StructType.String
(*UnsafeArrayType).unsafeType.safeType.Type.String
(*UnsafeEFaceType).unsafeType.safeType.Type.String
(*UnsafeIFaceType).unsafeType.safeType.Type.String
(*UnsafeMapType).unsafeType.safeType.Type.String
(*UnsafePtrType).unsafeType.safeType.Type.String
(*UnsafeSliceType).unsafeType.safeType.Type.String
(*UnsafeStructType).unsafeType.safeType.Type.String
Type1() reflect.Type
ArrayType.Type1
ListType.Type1
MapType.Type1
PtrType.Type1
SliceType.Type1
StructType.Type1
(*UnsafeArrayType).unsafeType.safeType.Type1
(*UnsafeEFaceType).unsafeType.safeType.Type1
(*UnsafeIFaceType).unsafeType.safeType.Type1
(*UnsafeMapType).unsafeType.safeType.Type1
(*UnsafePtrType).unsafeType.safeType.Type1
(*UnsafeSliceType).unsafeType.safeType.Type1
(*UnsafeStructType).unsafeType.safeType.Type1
UnsafeIndirect(ptr unsafe.Pointer) interface{}
ArrayType.UnsafeIndirect
ListType.UnsafeIndirect
MapType.UnsafeIndirect
PtrType.UnsafeIndirect
SliceType.UnsafeIndirect
StructType.UnsafeIndirect
(*UnsafeArrayType).UnsafeIndirect
(*UnsafeEFaceType).UnsafeIndirect
(*UnsafeIFaceType).UnsafeIndirect
(*UnsafeMapType).UnsafeIndirect
(*UnsafePtrType).UnsafeIndirect
(*UnsafeSliceType).unsafeType.UnsafeIndirect
(*UnsafeStructType).UnsafeIndirect
UnsafeIsNil(ptr unsafe.Pointer) bool
ArrayType.UnsafeIsNil
ListType.UnsafeIsNil
MapType.UnsafeIsNil
PtrType.UnsafeIsNil
SliceType.UnsafeIsNil
StructType.UnsafeIsNil
(*UnsafeArrayType).unsafeType.UnsafeIsNil
(*UnsafeEFaceType).UnsafeIsNil
(*UnsafeIFaceType).UnsafeIsNil
(*UnsafeMapType).UnsafeIsNil
(*UnsafePtrType).UnsafeIsNil
(*UnsafeSliceType).UnsafeIsNil
(*UnsafeStructType).unsafeType.UnsafeIsNil
UnsafeNew() unsafe.Pointer
ArrayType.UnsafeNew
ListType.UnsafeNew
MapType.UnsafeNew
PtrType.UnsafeNew
SliceType.UnsafeNew
StructType.UnsafeNew
(*UnsafeArrayType).unsafeType.UnsafeNew
(*UnsafeEFaceType).unsafeType.UnsafeNew
(*UnsafeIFaceType).unsafeType.UnsafeNew
(*UnsafeMapType).unsafeType.UnsafeNew
(*UnsafePtrType).unsafeType.UnsafeNew
(*UnsafeSliceType).unsafeType.UnsafeNew
(*UnsafeStructType).unsafeType.UnsafeNew
UnsafeSet(ptr unsafe.Pointer, val unsafe.Pointer)
ArrayType.UnsafeSet
ListType.UnsafeSet
MapType.UnsafeSet
PtrType.UnsafeSet
SliceType.UnsafeSet
StructType.UnsafeSet
(*UnsafeArrayType).unsafeType.UnsafeSet
(*UnsafeEFaceType).unsafeType.UnsafeSet
(*UnsafeIFaceType).unsafeType.UnsafeSet
(*UnsafeMapType).unsafeType.UnsafeSet
(*UnsafePtrType).unsafeType.UnsafeSet
(*UnsafeSliceType).UnsafeSet
(*UnsafeStructType).unsafeType.UnsafeSet
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |