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 / stylecheck / testdata / src / CheckExportedVarDocs / CheckExportedVarDocs.go
diff --git a/.config/coc/extensions/coc-go-data/tools/pkg/mod/honnef.co/go/tools@v0.0.1-2020.1.5/stylecheck/testdata/src/CheckExportedVarDocs/CheckExportedVarDocs.go b/.config/coc/extensions/coc-go-data/tools/pkg/mod/honnef.co/go/tools@v0.0.1-2020.1.5/stylecheck/testdata/src/CheckExportedVarDocs/CheckExportedVarDocs.go
new file mode 100644 (file)
index 0000000..416b42f
--- /dev/null
@@ -0,0 +1,19 @@
+package pkg
+
+// Whatever
+var a int
+
+// Whatever // want `should be of the form`
+var B int
+
+// Whatever
+var (
+       // Whatever
+       C int
+)
+
+func fn() {
+       // Whatever
+       var D int
+       _ = D
+}