master
wubin 5 years ago
parent 2f9d04d98e
commit d19f24b7b1

@ -35,6 +35,11 @@ func (items *Items) Swap(i, j int) {
reflect.Swapper(items.data)(i, j)
}
/**
2020-07-09
*/
func SortItems(i interface{}, str string, sortType string) {
if reflect.ValueOf(i).Kind() != reflect.Slice {
return

Loading…
Cancel
Save