2 ms·
Here: http://blog.golang.org/go-maps-in-action http://blog.golang.org/go-maps-in-action "When iterating over a map with a range loop, the iteration order is no
by ahuth 12y ago
Here: http://blog.golang.org/go-maps-in-action http://blog.golang.org/go-maps-in-action
"When iterating over a map with a range loop, the iteration order is not specified and is not guaranteed to be the same from one iteration to the next."
Also, "Since Go 1 the runtime randomizes map iteration order, as programmers relied on the stable iteration order of the previous implementation."