package runtime
import (
"reflect"
"unsafe"
)
type Type struct {}
func rtype_Align(*Type ) int
func (t *Type ) Align () int {
return rtype_Align (t )
}
func rtype_FieldAlign(*Type ) int
func (t *Type ) FieldAlign () int {
return rtype_FieldAlign (t )
}
func rtype_Method(*Type , int ) reflect .Method
func (t *Type ) Method (a0 int ) reflect .Method {
return rtype_Method (t , a0 )
}
func rtype_MethodByName(*Type , string ) (reflect .Method , bool )
func (t *Type ) MethodByName (a0 string ) (reflect .Method , bool ) {
return rtype_MethodByName (t , a0 )
}
func rtype_NumMethod(*Type ) int
func (t *Type ) NumMethod () int {
return rtype_NumMethod (t )
}
func rtype_Name(*Type ) string
func (t *Type ) Name () string {
return rtype_Name (t )
}
func rtype_PkgPath(*Type ) string
func (t *Type ) PkgPath () string {
return rtype_PkgPath (t )
}
func rtype_Size(*Type ) uintptr
func (t *Type ) Size () uintptr {
return rtype_Size (t )
}
func rtype_String(*Type ) string
func (t *Type ) String () string {
return rtype_String (t )
}
func rtype_Kind(*Type ) reflect .Kind
func (t *Type ) Kind () reflect .Kind {
return rtype_Kind (t )
}
func rtype_Implements(*Type , reflect .Type ) bool
func (t *Type ) Implements (u reflect .Type ) bool {
return rtype_Implements (t , u )
}
func rtype_AssignableTo(*Type , reflect .Type ) bool
func (t *Type ) AssignableTo (u reflect .Type ) bool {
return rtype_AssignableTo (t , u )
}
func rtype_ConvertibleTo(*Type , reflect .Type ) bool
func (t *Type ) ConvertibleTo (u reflect .Type ) bool {
return rtype_ConvertibleTo (t , u )
}
func rtype_Comparable(*Type ) bool
func (t *Type ) Comparable () bool {
return rtype_Comparable (t )
}
func rtype_Bits(*Type ) int
func (t *Type ) Bits () int {
return rtype_Bits (t )
}
func rtype_ChanDir(*Type ) reflect .ChanDir
func (t *Type ) ChanDir () reflect .ChanDir {
return rtype_ChanDir (t )
}
func rtype_IsVariadic(*Type ) bool
func (t *Type ) IsVariadic () bool {
return rtype_IsVariadic (t )
}
func rtype_Elem(*Type ) reflect .Type
func (t *Type ) Elem () *Type {
return Type2RType (rtype_Elem (t ))
}
func rtype_Field(*Type , int ) reflect .StructField
func (t *Type ) Field (i int ) reflect .StructField {
return rtype_Field (t , i )
}
func rtype_FieldByIndex(*Type , []int ) reflect .StructField
func (t *Type ) FieldByIndex (index []int ) reflect .StructField {
return rtype_FieldByIndex (t , index )
}
func rtype_FieldByName(*Type , string ) (reflect .StructField , bool )
func (t *Type ) FieldByName (name string ) (reflect .StructField , bool ) {
return rtype_FieldByName (t , name )
}
func rtype_FieldByNameFunc(*Type , func (string ) bool ) (reflect .StructField , bool )
func (t *Type ) FieldByNameFunc (match func (string ) bool ) (reflect .StructField , bool ) {
return rtype_FieldByNameFunc (t , match )
}
func rtype_In(*Type , int ) reflect .Type
func (t *Type ) In (i int ) reflect .Type {
return rtype_In (t , i )
}
func rtype_Key(*Type ) reflect .Type
func (t *Type ) Key () *Type {
return Type2RType (rtype_Key (t ))
}
func rtype_Len(*Type ) int
func (t *Type ) Len () int {
return rtype_Len (t )
}
func rtype_NumField(*Type ) int
func (t *Type ) NumField () int {
return rtype_NumField (t )
}
func rtype_NumIn(*Type ) int
func (t *Type ) NumIn () int {
return rtype_NumIn (t )
}
func rtype_NumOut(*Type ) int
func (t *Type ) NumOut () int {
return rtype_NumOut (t )
}
func rtype_Out(*Type , int ) reflect .Type
func PtrTo (*Type ) *Type
func (t *Type ) Out (i int ) reflect .Type {
return rtype_Out (t , i )
}
func IfaceIndir (*Type ) bool
func RType2Type (t *Type ) reflect .Type
type emptyInterface struct {
_ *Type
ptr unsafe .Pointer
}
func Type2RType (t reflect .Type ) *Type {
return (*Type )(((*emptyInterface )(unsafe .Pointer (&t ))).ptr )
}
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 .