1 | package lib |
---|---|
2 | |
3 | type Type int |
4 | |
5 | func (Type) Method(x *int) *int { |
6 | return x |
7 | } |
8 | |
9 | func Func() { |
10 | } |
11 | |
12 | const Const = 3 |
13 | |
14 | var Var = 0 |
15 | |
16 | type Sorter interface { |
17 | Len() int |
18 | Less(i, j int) bool |
19 | Swap(i, j int) |
20 | } |
21 | |
22 | type Outer struct { |
23 | A int |
24 | b int |
25 | inner |
26 | } |
27 | |
28 | type inner struct { |
29 | C bool |
30 | d string |
31 | recursive |
32 | } |
33 | |
34 | type recursive struct { |
35 | E bool |
36 | *inner |
37 | } |
38 |
Members