Giant blob of minor changes
[dotfiles/.git] / .config / coc / extensions / coc-go-data / tools / pkg / mod / golang.org / x / tools@v0.0.0-20201105173854-bc9fc8d8c4bc / internal / lsp / testdata / unimported / unimported_cand_type.go
1 package unimported
2
3 import (
4         _ "context"
5
6         "golang.org/x/tools/internal/lsp/baz"
7         _ "golang.org/x/tools/internal/lsp/signature" // provide type information for unimported completions in the other file
8 )
9
10 func _() {
11         foo.StructFoo{} //@item(litFooStructFoo, "foo.StructFoo{}", "struct{...}", "struct")
12
13         // We get the literal completion for "foo.StructFoo{}" even though we haven't
14         // imported "foo" yet.
15         baz.FooStruct = f //@snippet(" //", litFooStructFoo, "foo.StructFoo{$0\\}", "foo.StructFoo{$0\\}")
16 }