Giant blob of minor changes
[dotfiles/.git] / .config / coc / extensions / coc-go-data / tools / pkg / mod / golang.org / x / tools@v0.0.0-20201028153306-37f0764111ff / internal / lsp / testdata / unimported / unimported.go.in
1 package unimported
2
3 func _() {
4         http //@unimported("p", nethttp)
5         // container/ring is extremely unlikely to be imported by anything, so shouldn't have type information.
6         ring.Ring     //@unimported("Ring", ringring)
7         signature.Foo //@unimported("Foo", signaturefoo)
8
9         context.Bac //@unimported(" //", contextBackground, contextBackgroundErr)
10 }
11
12 // Create markers for unimported std lib packages. Only for use by this test.
13 /* http */ //@item(nethttp, "http", "\"net/http\"", "package")
14
15 /* ring.Ring */ //@item(ringring, "Ring", "(from \"container/ring\")", "var")
16
17 /* signature.Foo */ //@item(signaturefoo, "Foo", "func(a string, b int) (c bool) (from \"golang.org/x/tools/internal/lsp/signature\")", "func")
18
19 /* context.Background */ //@item(contextBackground, "Background", "func() context.Context (from \"context\")", "func")
20 /* context.Background().Err */ //@item(contextBackgroundErr, "Background().Err", "func() error (from \"context\")", "method")