...
Text file
src/go/doc/testdata/issue12839.0.golden
1// Package issue12839 is a go/doc test to test association of a ...
2PACKAGE issue12839
3
4IMPORTPATH
5 testdata/issue12839
6
7IMPORTS
8 p
9
10FILENAMES
11 testdata/issue12839.go
12
13FUNCTIONS
14 // F1 should not be associated with T1
15 func F1() (*T1, *T2)
16
17 // F10 should not be associated with T1.
18 func F10() (T1, T2, error)
19
20 // F4 should not be associated with a type (same as F1)
21 func F4() (a T1, b T2)
22
23 // F9 should not be associated with T1.
24 func F9() (int, T1, T2)
25
26
27TYPES
28 //
29 type T1 struct{}
30
31 // F2 should be associated with T1
32 func F2() (a, b, c T1)
33
34 // F3 should be associated with T1 because b.T3 is from a ...
35 func F3() (a T1, b p.T3)
36
37 // F5 should be associated with T1.
38 func F5() (T1, error)
39
40 // F6 should be associated with T1.
41 func F6() (*T1, error)
42
43 // F7 should be associated with T1.
44 func F7() (T1, string)
45
46 // F8 should be associated with T1.
47 func F8() (int, T1, string)
48
49 //
50 type T2 struct{}
51
View as plain text