Files
Eden Kirin 21607a5c48 Ordering
2023-10-25 20:18:35 +02:00

17 lines
266 B
Go

package repository
const ORDERING_ASC = "asc"
const ORDERING_DESC = "desc"
type Ordering struct {
Field string
Direction string
}
func NewOrdering(field string, direction string) Ordering {
return Ordering{
Field: field,
Direction: direction,
}
}