.gitignore added
[dotfiles/.git] / .config / coc / extensions / coc-go-data / tools / pkg / mod / golang.org / x / tools@v0.1.0 / cmd / guru / testdata / src / alias / alias.golden
diff --git a/.config/coc/extensions/coc-go-data/tools/pkg/mod/golang.org/x/tools@v0.1.0/cmd/guru/testdata/src/alias/alias.golden b/.config/coc/extensions/coc-go-data/tools/pkg/mod/golang.org/x/tools@v0.1.0/cmd/guru/testdata/src/alias/alias.golden
new file mode 100644 (file)
index 0000000..b5ba46e
--- /dev/null
@@ -0,0 +1,47 @@
+-------- @describe describe-pkg --------
+definition of package "alias"
+       type  I interface{f()}
+               method (I) f()
+       type  M = N
+               method (N) f()
+       type  N int
+               method (N) f()
+       type  O int
+       type  P = struct{N}
+               method (struct{N}) f()
+       type  U = invalid type
+       var   m N
+
+-------- @implements implements-I --------
+interface type I
+       is implemented by basic type N
+
+-------- @describe describe-def-M --------
+alias of type N (size 8, align 8)
+defined as int
+Methods:
+       method (N) f()
+
+-------- @describe describe-ref-M --------
+alias of type N (size 8, align 8)
+defined as int
+Methods:
+       method (N) f()
+
+-------- @describe describe-O --------
+definition of type O (size 8, align 8)
+No methods.
+
+-------- @describe describe-P --------
+type struct{N} (size 8, align 8)
+Methods:
+       method (struct{N}) f()
+Fields:
+       N N
+
+-------- @describe describe-U --------
+alias of type invalid type
+
+-------- @describe describe-undefined --------
+identifier
+