type LastStruct struct {
testName string
hhhh int
}
type NextStruct struct {
someName string
someName2 map[string]*LastStruct
}
type SomeStruct struct {
nameField string
field1 map[string]*NextStruct
}
...
data := new(SomeStruct)
data.field1 = make(map[string]*NextStruct)
data.field1["foo"] = new(NextStruct)