Y
Hacker News
new
|
ask
|
show
|
jobs
by
randomdata
3047 days ago
An example from the docs:
sort.Slice(people, func(i, j int) bool { return people[i].Name < people[j].Name })