Create a new StructHashEx struct
()
| 43 | |
| 44 | // Create a new StructHashEx struct |
| 45 | func NewStructHashEx() *StructHashEx { |
| 46 | return &StructHashEx{ |
| 47 | F1: make(map[StructSimpleKey]struct{Key StructSimple; Value StructNested}), |
| 48 | F2: make(map[StructSimpleKey]struct{Key StructSimple; Value *StructNested}), |
| 49 | } |
| 50 | } |
| 51 | |
| 52 | // Create a new StructHashEx struct from the given field values |
| 53 | func NewStructHashExFromFieldValues(F1 map[StructSimpleKey]struct{Key StructSimple; Value StructNested}, F2 map[StructSimpleKey]struct{Key StructSimple; Value *StructNested}) *StructHashEx { |
no outgoing calls
no test coverage detected