1
0
mirror of https://github.com/golang/go synced 2024-11-07 05:56:18 -07:00
go/internal/lsp/testdata/godef/a/f.go.golden

48 lines
706 B
Plaintext
Raw Normal View History

-- switchY-definition --
godef/a/f.go:8:9-10: defined here as var y int
-- switchY-definition-json --
{
"span": {
"uri": "file://godef/a/f.go",
"start": {
"line": 8,
"column": 9,
"offset": 76
},
"end": {
"line": 8,
"column": 10,
"offset": 77
}
},
"description": "var y int"
}
-- switchY-hover --
var y int
-- switchStringY-definition --
godef/a/f.go:8:9-10: defined here as var y string
-- switchStringY-definition-json --
{
"span": {
"uri": "file://godef/a/f.go",
"start": {
"line": 8,
"column": 9,
"offset": 76
},
"end": {
"line": 8,
"column": 10,
"offset": 77
}
},
"description": "var y string"
}
-- switchStringY-hover --
var y string