blob: bba2e2be5433db4ec1eb7c078003d2facb46f1f0 [file] [log] [blame]
-- PosSum-definition --
godef/a/random.go:24:15-18: defined here as ```go
func (*Pos).Sum() int
```
[`(a.Pos).Sum` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a#Pos.Sum)
-- PosSum-definition-json --
{
"span": {
"uri": "file://godef/a/random.go",
"start": {
"line": 24,
"column": 15,
"offset": 413
},
"end": {
"line": 24,
"column": 18,
"offset": 416
}
},
"description": "```go\nfunc (*Pos).Sum() int\n```\n\n[`(a.Pos).Sum` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a#Pos.Sum)"
}
-- PosSum-hover --
```go
func (*Pos).Sum() int
```
[`(a.Pos).Sum` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a#Pos.Sum)
-- PosX-definition --
godef/a/random.go:13:2-3: defined here as ```go
field x int
```
\@mark\(PosX, \"x\"\),mark\(PosY, \"y\"\)
-- PosX-definition-json --
{
"span": {
"uri": "file://godef/a/random.go",
"start": {
"line": 13,
"column": 2,
"offset": 187
},
"end": {
"line": 13,
"column": 3,
"offset": 188
}
},
"description": "```go\nfield x int\n```\n\n\\@mark\\(PosX, \\\"x\\\"\\),mark\\(PosY, \\\"y\\\"\\)"
}
-- PosX-hover --
```go
field x int
```
\@mark\(PosX, \"x\"\),mark\(PosY, \"y\"\)
-- RandomParamY-definition --
godef/a/random.go:8:14-15: defined here as ```go
var y int
```
-- RandomParamY-definition-json --
{
"span": {
"uri": "file://godef/a/random.go",
"start": {
"line": 8,
"column": 14,
"offset": 79
},
"end": {
"line": 8,
"column": 15,
"offset": 80
}
},
"description": "```go\nvar y int\n```"
}
-- RandomParamY-hover --
```go
var y int
```
-- TypField-definition --
godef/a/random.go:17:18-23: defined here as ```go
field field string
```
-- TypField-definition-json --
{
"span": {
"uri": "file://godef/a/random.go",
"start": {
"line": 17,
"column": 18,
"offset": 292
},
"end": {
"line": 17,
"column": 23,
"offset": 297
}
},
"description": "```go\nfield field string\n```"
}
-- TypField-hover --
```go
field field string
```