MCPcopy
hub / github.com/gofiber/fiber / PreviousPageURL

Method PreviousPageURL

middleware/paginate/page_info.go:106–108  ·  view source on GitHub ↗

PreviousPageURL returns the URL for the previous page. Returns empty string if on page 1.

(baseURL string)

Source from the content-addressed store, hash-verified

104// PreviousPageURL returns the URL for the previous page.
105// Returns empty string if on page 1.
106func (p *PageInfo) PreviousPageURL(baseURL string) string {
107 return p.PreviousPageURLWithKeys(baseURL, "page", "limit")
108}
109
110// NextCursorURLWithKeys returns the URL for the next cursor page using custom query keys.
111// Returns empty string if HasMore is false.

Calls 1