Easy sorting in Go
github.com
Easy sorting in Go
1–5 of 5 posts
Re: Easy sorting in Go
#2Same idea: https://github.com/patrickmn/sortutil
Wish it was easier without reflection.
Re: Easy sorting in Go
#3Same idea: https://github.com/patrickmn/sortutil Wish it was easier without reflection.
Thanks. But it's also use reflect package.
Re: Easy sorting in Go
#4Yeah, OO interface for sort from Go's standard library is crap. But why reflect and all that magic? I was expecting something based on function literals as a decent way to sort truly arbitrary data and not break context.
Re: Easy sorting in Go
#5Yeah, OO interface for sort from Go's standard library is crap. But why reflect and all that magic? I was expecting something based on function literals as a decent way to sort truly arbitrary data and not break context.
Could you please get some example?