MCPcopy Create free account
hub / github.com/chronoxor/FastBinaryEncoding / NewStructSet

Function NewStructSet

projects/Go/proto/test/StructSet.go:47–54  ·  view source on GitHub ↗

Create a new StructSet struct

()

Source from the content-addressed store, hash-verified

45
46// Create a new StructSet struct
47func 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
57func NewStructSetFromFieldValues(F1 setF1, F2 setF2, F3 setF3, F4 setF4) *StructSet {

Callers 7

DeserializeMethod · 0.85
DeserializeValueMethod · 0.85
DeserializeMethod · 0.85
DeserializeValueMethod · 0.85
GetMethod · 0.85
NewStructSetFromJSONFunction · 0.85
GetMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected