add sorting; implement sort criteria in default repo ; adding html header
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
package data
|
||||
|
||||
// TODO docstring
|
||||
type ISearchCriteria[T any] interface {
|
||||
Matches(t T) bool
|
||||
type ISortCriteria[T any] interface {
|
||||
Weight(t T) int
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user