Giant blob of minor changes
[dotfiles/.git] / .config / coc / extensions / coc-go-data / tools / pkg / mod / honnef.co / go / tools@v0.0.1-2020.1.5 / unused / testdata / src / exported_fields / exported_fields.go
diff --git a/.config/coc/extensions/coc-go-data/tools/pkg/mod/honnef.co/go/tools@v0.0.1-2020.1.5/unused/testdata/src/exported_fields/exported_fields.go b/.config/coc/extensions/coc-go-data/tools/pkg/mod/honnef.co/go/tools@v0.0.1-2020.1.5/unused/testdata/src/exported_fields/exported_fields.go
new file mode 100644 (file)
index 0000000..2c909a8
--- /dev/null
@@ -0,0 +1,36 @@
+package pkg
+
+type t1 struct {
+       F1 int
+}
+
+type T2 struct {
+       F2 int
+}
+
+var v struct {
+       T3
+}
+
+type T3 struct{}
+
+func (T3) Foo() {}
+
+func init() {
+       v.Foo()
+}
+
+func init() {
+       _ = t1{}
+}
+
+type codeResponse struct {
+       Tree *codeNode `json:"tree"`
+}
+
+type codeNode struct {
+}
+
+func init() {
+       _ = codeResponse{}
+}