Create a new StructSet struct
()
| 45 | |
| 46 | // Create a new StructSet struct |
| 47 | func NewStructSet() *StructSet { |
| 48 | return &StructSet{ |
| 49 | F1: make(setF1), |
| 50 | F2: make(setF2), |
| 51 | F3: make(setF3), |
| 52 | F4: make(setF4), |
| 53 | } |
| 54 | } |
| 55 | |
| 56 | // Create a new StructSet struct from the given field values |
| 57 | func NewStructSetFromFieldValues(F1 setF1, F2 setF2, F3 setF3, F4 setF4) *StructSet { |
no outgoing calls
no test coverage detected