1
0
mirror of https://github.com/golang/go synced 2024-11-19 02:14:43 -07:00
go/internal/lsp/testdata/cgoimport/usecgo.go.in
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

10 lines
166 B
Go

package cgoimport
import (
"golang.org/x/tools/internal/lsp/cgo"
)
func _() {
cgo.Example() //@godef("ample", funccgoexample),complete("ample", funccgoexample)
}