feat: add excel to service list

This commit is contained in:
2025-03-13 14:22:59 +07:00
parent 76f28b4610
commit 7ae38ccd78
2 changed files with 3 additions and 3 deletions

View File

@@ -12,8 +12,8 @@ import (
// SortByOrder Order items by specified field and a sort type
// Example: SortByOrder(map[string]string{"name": "ASC"}, &models.Post{})
// ASC - по возрастанию (от А до Я)
// DESC - по убыванию (от Я до А)
// ASC - по возрастанию (или от А до Я)
// DESC - по убыванию (или от Я до А)
func SortByOrder[T any](fieldsSortOrder map[string]string, entity T) ([]*T, error) {
var (
orderQuery []string