aboutsummaryrefslogtreecommitdiff
path: root/gopls/internal/lsp/testdata/godef/broken/unclosedIf.go.golden
blob: 9ce869848cb5adc806f174d4221fed7d12d6b21c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
-- myUnclosedIf-definition --
godef/broken/unclosedIf.go:7:7-19: defined here as ```go
var myUnclosedIf string
```

@myUnclosedIf
-- myUnclosedIf-definition-json --
{
	"span": {
		"uri": "file://godef/broken/unclosedIf.go",
		"start": {
			"line": 7,
			"column": 7,
			"offset": 68
		},
		"end": {
			"line": 7,
			"column": 19,
			"offset": 80
		}
	},
	"description": "```go\nvar myUnclosedIf string\n```\n\n@myUnclosedIf"
}

-- myUnclosedIf-hoverdef --
```go
var myUnclosedIf string
```

@myUnclosedIf