...
1 package p
2
3
4 type SM struct {
5 embedm
6 Embedm
7 }
8
9 func (SM) V1() {}
10 func (SM) V2() {}
11 func (SM) V3() {}
12 func (SM) V4() {}
13 func (SM) v() {}
14
15 func (*SM) P1() {}
16 func (*SM) P2() {}
17 func (*SM) P3() {}
18 func (*SM) P4() {}
19 func (*SM) p() {}
20
21 type embedm int
22
23 func (embedm) EV1() {}
24 func (embedm) EV2() {}
25 func (embedm) EV3() {}
26 func (*embedm) EP1() {}
27 func (*embedm) EP2() {}
28 func (*embedm) EP3() {}
29
30 type Embedm struct {
31 A int
32 }
33
34 func (Embedm) FV() {}
35 func (*Embedm) FP() {}
36
37 type RepeatEmbedm struct {
38 Embedm
39 }
40
41
42 type SM struct {
43 embedm2
44 embedm3
45 Embedm
46
47 }
48
49
50 type SMa = SM
51
52 func (SM) V1() {}
53
54
55
56
57
58 func (SM) V3(int) {}
59
60
61 func (SM) V5() {}
62
63 func (SM) v(int) {}
64 func (SM) v2() {}
65
66 func (*SM) P1() {}
67
68
69
70
71 func (*SMa) P3(int) {}
72
73
74 func (*SM) P5() {}
75
76
77
78
79
80
81
82
83 func (*SM) V4(int) {}
84
85
86
87
88 func (SM) P4() {}
89
90 type embedm2 int
91
92
93 func (embedm2) EV1(int) {}
94
95
96
97
98
99 func (*embedm2) EP1() {}
100
101 type embedm3 int
102
103 func (embedm3) EV3() {}
104 func (*embedm3) EP3() {}
105
106 type Embedm struct {
107
108 A bool
109 }
110
111
112 func (Embedm) FV(int) {}
113 func (*Embedm) FP() {}
114
115 type RepeatEmbedm struct {
116
117 Embedm
118 }
119
View as plain text