github.com/v2fly/tools@v0.100.0/internal/lsp/testdata/cgoimport/usecgo.go.golden (about)

     1  -- funccgoexample-definition --
     2  cgo/declarecgo.go:18:6-13: defined here as ```go
     3  func cgo.Example()
     4  ```
     5  
     6  [`cgo.Example` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/cgo?utm_source=gopls#Example)
     7  -- funccgoexample-definition-json --
     8  {
     9  	"span": {
    10  		"uri": "file://cgo/declarecgo.go",
    11  		"start": {
    12  			"line": 18,
    13  			"column": 6,
    14  			"offset": 151
    15  		},
    16  		"end": {
    17  			"line": 18,
    18  			"column": 13,
    19  			"offset": 158
    20  		}
    21  	},
    22  	"description": "```go\nfunc cgo.Example()\n```\n\n[`cgo.Example` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/cgo?utm_source=gopls#Example)"
    23  }
    24  
    25  -- funccgoexample-hover --
    26  ```go
    27  func cgo.Example()
    28  ```
    29  
    30  [`cgo.Example` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/cgo?utm_source=gopls#Example)