1
0
mirror of https://github.com/golang/go synced 2024-11-19 02:24:41 -07:00
go/internal/lsp/testdata/cgoimport/usecgo.go.golden
Heschi Kreinick 05c67e95c4 internal/lsp: add tests for cgo package users
We now have pretty good support for users of cgo packages. Add tests.

Closes golang/go#35720.

Change-Id: Icdc596038bc6fca1c08eacd199def12264cf512d
Reviewed-on: https://go-review.googlesource.com/c/tools/+/208503
Run-TryBot: Heschi Kreinick <heschi@google.com>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2019-11-25 19:20:57 +00:00

23 lines
401 B
Plaintext

-- funccgoexample-definition --
cgo/declarecgo.go:17:6-13: defined here as 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": "func cgo.Example()"
}
-- funccgoexample-hover --
func cgo.Example()