Golang Iterate Map of Array of Struct

Iterating through map is different from iterating through array as array has element number. To iterate map you will need the range method. You can use the range method to iterate through array too.

Running the code above will generate this result.