.gitignore added
[dotfiles/.git] / .config / coc / extensions / coc-go-data / tools / pkg / mod / honnef.co / go / tools@v0.1.1 / stylecheck / testdata / src / CheckExportedTypeDocs / CheckExportedTypeDocs.go
diff --git a/.config/coc/extensions/coc-go-data/tools/pkg/mod/honnef.co/go/tools@v0.1.1/stylecheck/testdata/src/CheckExportedTypeDocs/CheckExportedTypeDocs.go b/.config/coc/extensions/coc-go-data/tools/pkg/mod/honnef.co/go/tools@v0.1.1/stylecheck/testdata/src/CheckExportedTypeDocs/CheckExportedTypeDocs.go
new file mode 100644 (file)
index 0000000..2ddc354
--- /dev/null
@@ -0,0 +1,35 @@
+package pkg
+
+// Some type
+type t1 struct{}
+
+// Some type // want `comment on exported type`
+type T2 struct{}
+
+// T3 is amazing
+type T3 struct{}
+
+type (
+       // Some type // want `comment on exported type`
+       T4 struct{}
+       // The T5 type is amazing
+       T5 struct{}
+       // Some type
+       t6 struct{}
+)
+
+// Some types
+type (
+       T7 struct{}
+       T8 struct{}
+)
+
+// Some types
+type (
+       T9 struct{}
+)
+
+func fn() {
+       // Some type
+       type T1 struct{}
+}