Versions in this module Expand all Collapse all v0 v0.0.3 Oct 11, 2024 v0.0.2 Aug 30, 2024 Changes in this version + type Pagination struct + func PaginationService(db *gorm.DB, baseParams types.ListParams) *Pagination + func (service *Pagination) Count(filters []request.FilterRequest) (int, error) + func (service *Pagination) FindAll(filters []request.FilterRequest, findRequest request.FindRequest, ...) ([]map[string]interface{}, error) + func (service *Pagination) FindPaginated(filters []request.FilterRequest, pagination request.PaginationRequest, ...) (*response.PaginationResponse, error) + func (service *Pagination) FindPaginatedOffset(filters []request.FilterRequest, pagination request.PaginationOffsetRequest, ...) (*response.PaginationOffsetResponse, error) + func (service *Pagination) FindSelect2(filters []request.FilterRequest, infiniteScroll request.InfiniteScrollRequest, ...) (*response.Select2Response, error)