1
0
mirror of https://github.com/golang/go synced 2024-11-19 03:54:42 -07:00
go/internal/lsp/testdata/cgoimport/usecgo.go.golden

31 lines
720 B
Plaintext
Raw Normal View History

-- funccgoexample-definition --
cgo/declarecgo.go:17:6-13: defined here as [`cgo.Example` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/cgo#Example)
```go
func cgo.Example()
```
-- funccgoexample-definition-json --
{
"span": {
"uri": "file://cgo/declarecgo.go",
"start": {
"line": 17,
"column": 6,
"offset": 153
},
"end": {
"line": 17,
"column": 13,
"offset": 160
}
},
"description": "[`cgo.Example` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/cgo#Example)\n\n```go\nfunc cgo.Example()\n```"
}
-- funccgoexample-hover --
[`cgo.Example` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/cgo#Example)
```go
func cgo.Example()
```