mirror of
https://github.com/golang/go
synced 2024-11-18 19:34:41 -07:00
01b81f4f93
Since 'IdentifierInfo' doesn't contain ast node of import spec, gopls will construct an empty string under plaintext mode and '```go\n\n```' under markdown mode for *ast.ImportSpec. For now, the hovering result of import spec is the corresponding node format. Fixes golang/go#33000 Change-Id: I4c25782ddb5bcc557ace82f46d480316b0b90509 GitHub-Last-Rev: 150728f401c5f9b161b557584ad3250f46e50869 GitHub-Pull-Request: golang/tools#134 Reviewed-on: https://go-review.googlesource.com/c/tools/+/185357 Reviewed-by: Rebecca Stambler <rstambler@golang.org> Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> |
||
---|---|---|
.. | ||
b.go | ||
b.go.golden | ||
c.go | ||
c.go.golden | ||
c.go.saved | ||
e.go | ||
e.go.golden |