(to SortKeys)
| 32 | func (s SortKeys) IsNil() bool { return len(s) == 0 } |
| 33 | |
| 34 | func (s SortKeys) Equal(to SortKeys) bool { |
| 35 | return slices.EqualFunc(s, to, func(a, b SortKey) bool { |
| 36 | return a.Equal(b) |
| 37 | }) |
| 38 | } |
| 39 | |
| 40 | func ParseSortKeys(s string) (SortKeys, error) { |
| 41 | if s == "" { |
no test coverage detected