NextPageURL returns the URL for the next page.
(baseURL string)
| 89 | |
| 90 | // NextPageURL returns the URL for the next page. |
| 91 | func (p *PageInfo) NextPageURL(baseURL string) string { |
| 92 | return p.NextPageURLWithKeys(baseURL, "page", "limit") |
| 93 | } |
| 94 | |
| 95 | // PreviousPageURLWithKeys returns the URL for the previous page using custom query keys. |
| 96 | // Returns empty string if on page 1. |