.gitignore added
[dotfiles/.git] / .config / coc / extensions / coc-go-data / tools / pkg / mod / golang.org / x / tools@v0.1.1-0.20210319172145-bda8f5cee399 / internal / lsp / testdata / types / types.go
diff --git a/.config/coc/extensions/coc-go-data/tools/pkg/mod/golang.org/x/tools@v0.1.1-0.20210319172145-bda8f5cee399/internal/lsp/testdata/types/types.go b/.config/coc/extensions/coc-go-data/tools/pkg/mod/golang.org/x/tools@v0.1.1-0.20210319172145-bda8f5cee399/internal/lsp/testdata/types/types.go
new file mode 100644 (file)
index 0000000..c60d4b2
--- /dev/null
@@ -0,0 +1,18 @@
+package types
+
+type CoolAlias = int //@item(CoolAlias, "CoolAlias", "int", "type")
+
+type X struct { //@item(X_struct, "X", "struct{...}", "struct")
+       x int
+}
+
+type Y struct { //@item(Y_struct, "Y", "struct{...}", "struct")
+       y int
+}
+
+type Bob interface { //@item(Bob_interface, "Bob", "interface{...}", "interface")
+       Bobby()
+}
+
+func (*X) Bobby() {}
+func (*Y) Bobby() {}