paginate

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 7, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPageNumber

func GetPageNumber(urlQuery url.Values) (uint, string, error)

GetPageNumber retrieves or sets the page number for paginated views.

func PageCount

func PageCount(itemCount, itemsPerPage uint) uint

PageCount returns the total number of pages for a given number of items and items per page.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL