...
1 package model
2
3 type _FieldSet string
4
5 type Hello struct {
6 Name string
7 Secondary string
8 }
9
10 func (Hello) IsEntity() {}
11
12 type World struct {
13 Foo string
14 Bar int
15 }
16
17 func (World) IsEntity() {}
18
19 type ExternalExtension struct {
20 UPC string
21 Reviews []*World
22 }
23
24 func (ExternalExtension) IsEntity() {}
25
26 type NestedKey struct {
27 ID string
28 Hello *Hello
29 }
30
31 func (NestedKey) IsEntity() {}
32
33 type MoreNesting struct {
34 ID string
35 World *World
36 }
37
38 func (MoreNesting) IsEntity() {}
39
40 type VeryNestedKey struct {
41 ID string
42 Hello *Hello
43 World *World
44 Nested *NestedKey
45 More *MoreNesting
46 }
47
48 func (VeryNestedKey) IsEntity() {}
49
View as plain text