Closed rr-jino-jose closed 1 year ago
Can't repro. And confused as to why your print would show a &{map ...
when your code is supposed to be printing an ordered map. You sure you ran that exact snippet?
Closing, please submit a go playground example if you'd like to reopen. Thanks!
hello
I am trying to get my map ordered and I don't see its giving me correct results. Can anyone give me a hand?? The below is my main file
I have a yaml file like this
When I run the main file its giving me wrong order.. wonder what am I missing
go run main.go
&{map[concurrency:0xc000074ed0 jobs:0xc000075530 name:0xc000074ba0 on:0xc000074d50 permissions:0xc000074e10] 0xc0000749f0}
I was expecting it to be "name,on,permissions,concurrency" format