To initialize a map in a struct one should do the following:
someStruct.nestedMap = make(map[int8]int8)
But what should you do if you have a code structure like this:
type Base struct {
base map[int8]uint64
}
type Middle struct {
baseObjects map[int8]Base
}
type Top struct {
middleObjects map[int8]Middle
}
There we have a total of 3 structs where each has a struct as a key. How do you initialize this, and make it ready to go?