package param
const (
defaultOrder = "ASC"
)
type OrderRequest struct {
Ordering string
}
func (o *OrderRequest) GetOrder() string {
if len(o.Order) == 0 {
o.Order = defaultOrder
return o.Order