Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PaginateOpts ¶
type Service ¶
type Service interface {
Paginate(ctx context.Context, collection string, result interface{}, opts PaginateOpts) (Meta, error)
}
func NewPaginationService ¶
func NewPaginationService(opts ServiceOpts) Service
type ServiceOpts ¶
func (ServiceOpts) Paginate ¶
func (s ServiceOpts) Paginate(ctx context.Context, collection string, result interface{}, opts PaginateOpts) (Meta, error)
Click to show internal directories.
Click to hide internal directories.