2019-04-29 12:57:27 -06:00
|
|
|
-- Member-definition --
|
|
|
|
godef/a/d.go:6:2-8: defined here as field Member string
|
|
|
|
|
|
|
|
-- Member-definition-json --
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"uri": "file://godef/a/d.go",
|
|
|
|
"start": {
|
|
|
|
"line": 6,
|
|
|
|
"column": 2,
|
|
|
|
"offset": 55
|
|
|
|
},
|
|
|
|
"end": {
|
|
|
|
"line": 6,
|
|
|
|
"column": 8,
|
|
|
|
"offset": 61
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"description": "field Member string"
|
|
|
|
}
|
|
|
|
|
|
|
|
-- Member-hover --
|
2019-04-27 20:45:06 -06:00
|
|
|
@Member
|
2019-04-29 12:57:27 -06:00
|
|
|
field Member string
|
|
|
|
-- Method-definition --
|
|
|
|
godef/a/d.go:15:16-22: defined here as func (Thing).Method(i int) string
|
|
|
|
|
|
|
|
-- Method-definition-json --
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"uri": "file://godef/a/d.go",
|
|
|
|
"start": {
|
|
|
|
"line": 15,
|
|
|
|
"column": 16,
|
|
|
|
"offset": 184
|
|
|
|
},
|
|
|
|
"end": {
|
|
|
|
"line": 15,
|
|
|
|
"column": 22,
|
|
|
|
"offset": 190
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"description": "func (Thing).Method(i int) string"
|
|
|
|
}
|
|
|
|
|
|
|
|
-- Method-hover --
|
|
|
|
func (Thing).Method(i int) string
|
|
|
|
-- Other-definition --
|
|
|
|
godef/a/d.go:9:5-10: defined here as var Other Thing
|
|
|
|
|
|
|
|
-- Other-definition-json --
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"uri": "file://godef/a/d.go",
|
|
|
|
"start": {
|
|
|
|
"line": 9,
|
|
|
|
"column": 5,
|
|
|
|
"offset": 86
|
|
|
|
},
|
|
|
|
"end": {
|
|
|
|
"line": 9,
|
|
|
|
"column": 10,
|
|
|
|
"offset": 91
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"description": "var Other Thing"
|
|
|
|
}
|
|
|
|
|
|
|
|
-- Other-hover --
|
|
|
|
var Other Thing
|
|
|
|
-- Thing-definition --
|
2019-04-27 20:45:06 -06:00
|
|
|
godef/a/d.go:5:6-11: defined here as Thing struct {
|
|
|
|
Member string //@Member
|
|
|
|
}
|
2019-04-29 12:57:27 -06:00
|
|
|
|
|
|
|
-- Thing-definition-json --
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"uri": "file://godef/a/d.go",
|
|
|
|
"start": {
|
|
|
|
"line": 5,
|
|
|
|
"column": 6,
|
|
|
|
"offset": 30
|
|
|
|
},
|
|
|
|
"end": {
|
|
|
|
"line": 5,
|
|
|
|
"column": 11,
|
|
|
|
"offset": 35
|
|
|
|
}
|
|
|
|
},
|
2019-04-27 20:45:06 -06:00
|
|
|
"description": "Thing struct {\n\tMember string //@Member\n}"
|
2019-04-29 12:57:27 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
-- Thing-hover --
|
2019-04-27 20:45:06 -06:00
|
|
|
Thing struct {
|
|
|
|
Member string //@Member
|
|
|
|
}
|
2019-04-29 12:57:27 -06:00
|
|
|
-- Things-definition --
|
|
|
|
godef/a/d.go:11:6-12: defined here as func Things(val []string) []Thing
|
|
|
|
|
|
|
|
-- Things-definition-json --
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"uri": "file://godef/a/d.go",
|
|
|
|
"start": {
|
|
|
|
"line": 11,
|
|
|
|
"column": 6,
|
|
|
|
"offset": 113
|
|
|
|
},
|
|
|
|
"end": {
|
|
|
|
"line": 11,
|
|
|
|
"column": 12,
|
|
|
|
"offset": 119
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"description": "func Things(val []string) []Thing"
|
|
|
|
}
|
|
|
|
|
|
|
|
-- Things-hover --
|
|
|
|
func Things(val []string) []Thing
|