Iteration order is not specified. Go randomizes the order of iteration on purpose so that code doesn’t incorrectly rely on specific order.

Iterate both keys and values

https://codeeval.dev/gist/e1192f0cb862d30e00cc535e866a461b

Iterate just keys

https://codeeval.dev/gist/2f4c053475f367457bea64d2b80f9ac3

Iterate just values

https://codeeval.dev/gist/3372285d19be20f31ffb1998139471ed