You can create a slice of the keys in any order you want and use that
to control the iteration. Map iteration is always randomized.

https://play.golang.org/p/yGDUNSFMSG

On Thu, Feb 9, 2017 at 1:08 PM,  <erfangnuli...@gmail.com> wrote:
> hi
> How can print MAP data without randomized?
>
> --
> You received this message because you are subscribed to the Google Groups
> "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to golang-nuts+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to