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

Function NewStructHashEx

projects/Go/proto/test/StructHashEx.go:45–50  ·  view source on GitHub ↗

Create a new StructHashEx struct

()

Source from the content-addressed store, hash-verified

43
44// Create a new StructHashEx struct
45func 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
53func NewStructHashExFromFieldValues(F1 map[StructSimpleKey]struct{Key StructSimple; Value StructNested}, F2 map[StructSimpleKey]struct{Key StructSimple; Value *StructNested}) *StructHashEx {

Callers 7

NewStructHashExFromJSONFunction · 0.85
DeserializeMethod · 0.85
DeserializeValueMethod · 0.85
DeserializeMethod · 0.85
DeserializeValueMethod · 0.85
GetMethod · 0.85
GetMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected