Limit returns the page size. Intend to be used in SQL statements.
()
| 79 | // Limit returns the page size. |
| 80 | // Intend to be used in SQL statements. |
| 81 | func (p *Pagination) Limit() int { |
| 82 | p.normalize() |
| 83 | return p.Size |
| 84 | } |
| 85 | |
| 86 | // Offset returns the size of skipped items of current page. |
| 87 | // Intend to be used in SQL statements. |
no test coverage detected