Giant blob of minor changes
[dotfiles/.git] / .config / coc / extensions / coc-go-data / tools / pkg / mod / golang.org / x / tools@v0.0.0-20201105173854-bc9fc8d8c4bc / cmd / bundle / testdata / out.golden
diff --git a/.config/coc/extensions/coc-go-data/tools/pkg/mod/golang.org/x/tools@v0.0.0-20201105173854-bc9fc8d8c4bc/cmd/bundle/testdata/out.golden b/.config/coc/extensions/coc-go-data/tools/pkg/mod/golang.org/x/tools@v0.0.0-20201105173854-bc9fc8d8c4bc/cmd/bundle/testdata/out.golden
new file mode 100644 (file)
index 0000000..ed18e3d
--- /dev/null
@@ -0,0 +1,64 @@
+// +build tag
+
+// Code generated by golang.org/x/tools/cmd/bundle. DO NOT EDIT.
+//   $ bundle
+
+// The package doc comment
+//
+
+package dest
+
+import (
+       "fmt"
+       . "fmt"
+       _ "fmt"
+       renamedfmt "fmt"
+       renamedfmt2 "fmt"
+
+       "domain.name/importdecl"
+)
+
+// init functions are not renamed
+func init() { prefixfoo() }
+
+// Type S.
+type prefixS struct {
+       prefixt
+       u int
+} /* multi-line
+comment
+*/
+
+// non-associated comment
+
+/*
+       non-associated comment2
+*/
+
+// Function bar.
+func prefixbar(s *prefixS) {
+       fmt.Println(s.prefixt, s.u) // comment inside function
+}
+
+// file-end comment
+
+type prefixt int // type1
+
+// const1
+const prefixc = 1 // const2
+
+func prefixfoo() {
+       fmt.Println(importdecl.F())
+}
+
+// zinit
+const (
+       prefixz1 = iota // z1
+       prefixz2        // z2
+) // zend
+
+func prefixbaz() {
+       renamedfmt.Println()
+       renamedfmt2.Println()
+       Println()
+}