Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
type Adapter interface {
CreateAdapter(ctx context.Context, paginator Pagination) paginator.Adapter
}
type Pagination ¶
type Pagination struct { Limit int Page int Filters []Filter Search string Model interface{} Table string }
func (*Pagination) Handle ¶
func (p *Pagination) Handle(request Request)
func (*Pagination) Paginate ¶
func (p *Pagination) Paginate(adapter paginator.Adapter, results interface{}, total *int64) error
Click to show internal directories.
Click to hide internal directories.