Create a new StructNested struct
()
| 56 | |
| 57 | // Create a new StructNested struct |
| 58 | func NewStructNested() *StructNested { |
| 59 | return &StructNested{ |
| 60 | StructOptional: NewStructOptional(), |
| 61 | F1000: *NewEnumSimple(), |
| 62 | F1001: nil, |
| 63 | F1002: EnumTyped_ENUM_VALUE_2, |
| 64 | F1003: nil, |
| 65 | F1004: *NewFlagsSimple(), |
| 66 | F1005: nil, |
| 67 | F1006: FlagsTyped_FLAG_VALUE_2 | FlagsTyped_FLAG_VALUE_4 | FlagsTyped_FLAG_VALUE_6, |
| 68 | F1007: nil, |
| 69 | F1008: *NewStructSimple(), |
| 70 | F1009: nil, |
| 71 | F1010: *NewStructOptional(), |
| 72 | F1011: nil, |
| 73 | } |
| 74 | } |
| 75 | |
| 76 | // Create a new StructNested struct from the given field values |
| 77 | func NewStructNestedFromFieldValues(Parent *StructOptional, F1000 EnumSimple, F1001 *EnumSimple, F1002 EnumTyped, F1003 *EnumTyped, F1004 FlagsSimple, F1005 *FlagsSimple, F1006 FlagsTyped, F1007 *FlagsTyped, F1008 StructSimple, F1009 *StructSimple, F1010 StructOptional, F1011 *StructOptional) *StructNested { |
no test coverage detected