Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MongoFilter ¶ added in v0.0.372
func CreateFilter ¶ added in v0.0.303
func CreateFilter(pipeline mongo.Pipeline, sort bson.D) MongoFilter
type Pagination ¶
type Pagination struct { Page int `json:"page"` // page (first page == 1) Limit int `json:"limit"` // max-page-size TotalPages int `json:"totalPages"` // total page-count TotalItems int `json:"totalItems"` // total items-count CurrentPageCount int `json:"currentPageCount"` // item-count in current page ( == len(data) ) }
Click to show internal directories.
Click to hide internal directories.