Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Paginate ¶
func Paginate( ctx context.Context, q *bun.SelectQuery, offset, limit int, ) (*bun.SelectQuery, *apiv1.Pagination, error)
Paginate calculates pagination info for a Bun query and returns the SelectQuery for the caller to execute.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.