.gitignore added
[dotfiles/.git] / .config / coc / extensions / coc-go-data / tools / pkg / mod / golang.org / x / tools@v0.1.0 / cmd / guru / testdata / src / lib / lib.go
diff --git a/.config/coc/extensions/coc-go-data/tools/pkg/mod/golang.org/x/tools@v0.1.0/cmd/guru/testdata/src/lib/lib.go b/.config/coc/extensions/coc-go-data/tools/pkg/mod/golang.org/x/tools@v0.1.0/cmd/guru/testdata/src/lib/lib.go
new file mode 100644 (file)
index 0000000..742cdbf
--- /dev/null
@@ -0,0 +1,37 @@
+package lib
+
+type Type int
+
+func (Type) Method(x *int) *int {
+       return x
+}
+
+func Func() {
+}
+
+const Const = 3
+
+var Var = 0
+
+type Sorter interface {
+       Len() int
+       Less(i, j int) bool
+       Swap(i, j int)
+}
+
+type Outer struct {
+       A int
+       b int
+       inner
+}
+
+type inner struct {
+       C bool
+       d string
+       recursive
+}
+
+type recursive struct {
+       E bool
+       *inner
+}