github.com/powerman/golang-tools@v0.1.11-0.20220410185822-5ad214d8d803/internal/lsp/testdata/godef/a/h.go.golden (about) 1 -- arrD-hoverdef -- 2 ```go 3 field d int 4 ``` 5 6 d field 7 -- arrE-hoverdef -- 8 ```go 9 field e struct{f int} 10 ``` 11 12 e nested struct 13 -- arrF-hoverdef -- 14 ```go 15 field f int 16 ``` 17 18 f field of nested struct 19 -- complexH-hoverdef -- 20 ```go 21 field h int 22 ``` 23 24 h field 25 -- complexI-hoverdef -- 26 ```go 27 field i struct{j int} 28 ``` 29 30 i nested struct 31 -- complexJ-hoverdef -- 32 ```go 33 field j int 34 ``` 35 36 j field of nested struct 37 -- mapStructKeyX-hoverdef -- 38 ```go 39 field x []string 40 ``` 41 42 X key field 43 -- mapStructKeyY-hoverdef -- 44 ```go 45 field y string 46 ``` 47 -- mapStructValueX-hoverdef -- 48 ```go 49 field x string 50 ``` 51 52 X value field 53 -- nestedMap-hoverdef -- 54 ```go 55 field m map[string]float64 56 ``` 57 58 nested map 59 -- nestedNumber-hoverdef -- 60 ```go 61 field number int64 62 ``` 63 64 nested number 65 -- nestedString-hoverdef -- 66 ```go 67 field str string 68 ``` 69 70 nested string 71 -- openMethod-hoverdef -- 72 ```go 73 func (interface).open() error 74 ``` 75 76 open method comment 77 -- returnX-hoverdef -- 78 ```go 79 field x int 80 ``` 81 82 X coord 83 -- returnY-hoverdef -- 84 ```go 85 field y int 86 ``` 87 88 Y coord 89 -- structA-hoverdef -- 90 ```go 91 field a int 92 ``` 93 94 a field 95 -- structB-hoverdef -- 96 ```go 97 field b struct{c int} 98 ``` 99 100 b nested struct 101 -- structC-hoverdef -- 102 ```go 103 field c int 104 ``` 105 106 c field of nested struct 107 -- testDescription-hoverdef -- 108 ```go 109 field desc string 110 ``` 111 112 test description 113 -- testInput-hoverdef -- 114 ```go 115 field in map[string][]struct{key string; value interface{}} 116 ``` 117 118 test input 119 -- testInputKey-hoverdef -- 120 ```go 121 field key string 122 ``` 123 124 test key 125 -- testInputValue-hoverdef -- 126 ```go 127 field value interface{} 128 ``` 129 130 test value 131 -- testResultValue-hoverdef -- 132 ```go 133 field value int 134 ``` 135 136 expected test value