Versions in this module Expand all Collapse all v0 v0.1.0 Oct 13, 2018 Changes in this version + const ASC + const DESC + type Cursors struct + AfterCursor string + BeforeCursor string + type Paginator struct + func New() Paginator + func (p *Paginator) GetNextCursors() Cursors + func (p *Paginator) Paginate(stmt *gorm.DB, out interface{}) *gorm.DB + func (p *Paginator) SetAfterCursor(cursor string) + func (p *Paginator) SetBeforeCursor(cursor string) + func (p *Paginator) SetKeys(keys ...string) + func (p *Paginator) SetLimit(limit int) + func (p *Paginator) SetOrder(order order)