Versions in this module Expand all Collapse all v1 v1.0.1 Jun 20, 2025 v1.0.0 Jun 19, 2025 Changes in this version + type PaginationRequest struct + OrderBy string + Page int + PerPage int + type PaginationResponse struct + LastPage int + Total int64 + type Paginator struct + func NewPaginator(db *gorm.DB, whereConditionMap WhereConditionMap, orders map[string]string, ...) Paginator + func (p *Paginator) AddWhereConditions(wm map[string]any) *Paginator + func (p *Paginator) CloneDB() *gorm.DB + func (p *Paginator) Execute(data any) *gorm.DB + func (p *Paginator) GetTotalAndLastPage() (int64, int) + func (p *Paginator) OrderBy(orderBy string) *Paginator + type WhereConditionMap map[string]func(db *gorm.DB, value any)