.gitignore added
[dotfiles/.git] / .config / coc / extensions / coc-go-data / tools / pkg / mod / golang.org / x / tools@v0.1.1-0.20210319172145-bda8f5cee399 / internal / apidiff / testdata / exported_fields / ef.go
diff --git a/.config/coc/extensions/coc-go-data/tools/pkg/mod/golang.org/x/tools@v0.1.1-0.20210319172145-bda8f5cee399/internal/apidiff/testdata/exported_fields/ef.go b/.config/coc/extensions/coc-go-data/tools/pkg/mod/golang.org/x/tools@v0.1.1-0.20210319172145-bda8f5cee399/internal/apidiff/testdata/exported_fields/ef.go
new file mode 100644 (file)
index 0000000..19da716
--- /dev/null
@@ -0,0 +1,37 @@
+package exported_fields
+
+// Used for testing exportedFields.
+// Its exported fields are:
+//   A1 [1]int
+//   D bool
+//   E int
+//   F F
+//   S *S
+type (
+       S struct {
+               int
+               *embed2
+               embed
+               E int // shadows embed.E
+               alias
+               A1
+               *S
+       }
+
+       A1 [1]int
+
+       embed struct {
+               E string
+       }
+
+       embed2 struct {
+               embed3
+               F // shadows embed3.F
+       }
+       embed3 struct {
+               F bool
+       }
+       alias = struct{ D bool }
+
+       F int
+)