Sortuj tablicę struktury w Golang
slice.Sort(planets[:], func(i, j int) bool {
return planets[i].Axis < planets[j].Axis
})
Cheerful Crayfish
slice.Sort(planets[:], func(i, j int) bool {
return planets[i].Axis < planets[j].Axis
})