github.com/hikaru7719/go@v0.0.0-20181025140707-c8b2ac68906a/src/go/doc/testdata/issue12839.0.golden (about) 1 // Package issue12839 is a go/doc test to test association of a ... 2 PACKAGE issue12839 3 4 IMPORTPATH 5 testdata/issue12839 6 7 IMPORTS 8 p 9 10 FILENAMES 11 testdata/issue12839.go 12 13 FUNCTIONS 14 // F1 should not be associated with T1 15 func F1() (*T1, *T2) 16 17 // F4 should not be associated with a type (same as F1) 18 func F4() (a T1, b T2) 19 20 21 TYPES 22 // 23 type T1 struct{} 24 25 // F2 should be associated with T1 26 func F2() (a, b, c T1) 27 28 // F3 should be associated with T1 because b.T3 is from a ... 29 func F3() (a T1, b p.T3) 30 31 // 32 type T2 struct{} 33