mirror of
https://github.com/golang/go
synced 2024-11-19 02:24:41 -07:00
05c67e95c4
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>
23 lines
401 B
Plaintext
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()
|