fix products listing
This commit is contained in:
@@ -10,8 +10,8 @@ import (
|
||||
)
|
||||
|
||||
type Paging struct {
|
||||
Page uint `json:"page_number" example:"5"`
|
||||
Elements uint `json:"elements_per_page" example:"30"`
|
||||
Page uint `json:"p" example:"5"`
|
||||
Elements uint `json:"elems" example:"30"`
|
||||
}
|
||||
|
||||
func (p Paging) Offset() int {
|
||||
|
||||
Reference in New Issue
Block a user