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