Hacker News new | ask | show | jobs
by zzzcpan 3664 days ago
Yeah, 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.
1 comments

Could you please get some example?