aboutsummaryrefslogtreecommitdiff
path: root/gopls/internal/lsp/testdata/cgoimport/usecgo.go.golden
blob: 03fc22468cafb3335d30e2c755f40785907d9bcf (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
-- funccgoexample-definition --
cgo/declarecgo.go:18:6-13: defined here as ```go
func cgo.Example()
```

[`cgo.Example` on pkg.go.dev](https://pkg.go.dev/golang.org/lsptests/cgo#Example)
-- funccgoexample-definition-json --
{
	"span": {
		"uri": "file://cgo/declarecgo.go",
		"start": {
			"line": 18,
			"column": 6,
			"offset": 151
		},
		"end": {
			"line": 18,
			"column": 13,
			"offset": 158
		}
	},
	"description": "```go\nfunc cgo.Example()\n```\n\n[`cgo.Example` on pkg.go.dev](https://pkg.go.dev/golang.org/lsptests/cgo#Example)"
}

-- funccgoexample-hoverdef --
```go
func cgo.Example()
```

[`cgo.Example` on pkg.go.dev](https://pkg.go.dev/golang.org/lsptests/cgo#Example)