...
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 MultiHelloMultiKey struct {
20 Name string
21 Key2 int
22 }
23
24 func (MultiHelloMultiKey) IsEntity() {}
25
26 type ExternalExtension struct {
27 UPC string
28 Reviews []*World
29 }
30
31 func (ExternalExtension) IsEntity() {}
32
33 type NestedKey struct {
34 ID string
35 Hello *Hello
36 }
37
38 func (NestedKey) IsEntity() {}
39
40 type MoreNesting struct {
41 ID string
42 World *World
43 }
44
45 func (MoreNesting) IsEntity() {}
46
47 type VeryNestedKey struct {
48 ID string
49 Hello *Hello
50 World *World
51 Nested *NestedKey
52 More *MoreNesting
53 }
54
55 func (VeryNestedKey) IsEntity() {}
56
57 type MultiHelloMultiKeyByNamesInput struct {
58 Names []string `json:"Names"`
59 }
60
61 type MultiHelloMultiKeyByKey2sInput struct {
62 Key2s []string `json:"Key2s"`
63 }
64
View as plain text