...
1 package out_struct_pointers
2
3 type ExistingType struct {
4 Name *string `json:"name"`
5 Enum *ExistingEnum `json:"enum"`
6 Int ExistingInterface `json:"int"`
7 Existing *MissingTypeNullable `json:"existing"`
8 }
9
10 type ExistingModel struct {
11 Name string
12 Enum ExistingEnum
13 Int ExistingInterface
14 }
15
16 type ExistingInput struct {
17 Name string
18 Enum ExistingEnum
19 Int ExistingInterface
20 }
21
22 type ExistingEnum string
23
24 type ExistingInterface interface {
25 IsExistingInterface()
26 }
27
28 type ExistingUnion interface {
29 IsExistingUnion()
30 }
31
View as plain text