by _bpo · 12y ago · 0 comments
http://linux.die.net/man/1/indent
with this: https://golang.org/cmd/gofmt/
even just by line count, you'll see the difference in philosophy.http://stackoverflow.com/questions/19946992/sorting-a-map-of...
(shortest way to sort an array of a custom datatype in go is around 50 lines of code, and requires you to write a custom sorting class)
Convert the map values to a slice and then use the stdlib package sort to organize the data.