...
1 package p
2
3
4 type S1 struct {
5 A int
6 B string
7 C bool
8 d float32
9 }
10
11
12 type S1 = s1
13
14 type s1 struct {
15 C chan int
16
17 A int
18
19
20 x []int
21 d float32
22 E bool
23
24 }
25
26
27 type embed struct {
28 E string
29 }
30
31 type S2 struct {
32 A int
33 embed
34 }
35
36
37 type embedx struct {
38 E string
39 }
40
41 type S2 struct {
42 embedx
43 A int
44 }
45
46
47 type F int
48
49
50 type S3 struct {
51 A int
52 embed
53 }
54
55
56 type embed struct{ F int }
57
58 type S3 struct {
59
60 embed
61
62 A int
63 }
64
65
66 type A1 [1]int
67
68
69 type embed2 struct {
70 embed3
71 F
72 }
73
74 type embed3 struct {
75 F bool
76 }
77
78 type alias = struct{ D bool }
79
80 type S4 struct {
81 int
82 *embed2
83 embed
84 E int
85 alias
86 A1
87 *S4
88 }
89
90
91 type S4 struct {
92
93
94 D bool
95
96 E int
97 F F
98
99 A1
100 *S4
101 }
102
103
104
105 type S5 struct{ A int }
106
107
108
109
110 type S6 struct {
111 S5 S5
112 A int
113 }
114
115
116
117
118
119
120 type S6 struct {
121 S5
122 }
123
124
125
126 type (
127 embed7a struct{ E int }
128 embed7b struct{ E bool }
129 )
130
131
132 type S7 struct {
133 embed7a
134 embed7b
135 }
136
137
138 type S7 struct {
139 embed7a
140 embed7b
141
142 E string
143 }
144
View as plain text