Source file src/pkg/runtime/type.go
1
2
3
4
5 6 7 8 9 10 11
12
13 package runtime
14
15 import "unsafe"
16
17 type rtype struct {
18 size uintptr
19 hash uint32
20 _ uint8
21 align uint8
22 fieldAlign uint8
23 kind uint8
24 alg unsafe.Pointer
25 gc unsafe.Pointer
26 string *string
27 *uncommonType
28 ptrToThis *rtype
29 }
30
31 type _method struct {
32 name *string
33 pkgPath *string
34 mtyp *rtype
35 typ *rtype
36 ifn unsafe.Pointer
37 tfn unsafe.Pointer
38 }
39
40 type uncommonType struct {
41 name *string
42 pkgPath *string
43 methods []_method
44 }
45
46 type _imethod struct {
47 name *string
48 pkgPath *string
49 typ *rtype
50 }
51
52 type interfaceType struct {
53 rtype
54 methods []_imethod
55 }
View as plain text