modulepackage
0.3.0
Repository: https://github.com/aaronland/go-pagination.git
Documentation: pkg.go.dev
# Packages
package countable provides implementions of the pagintion.Options and pagination.Results interfaces for use with page-based or numbered pagination.
package cursor provides implementions of the pagintion.Options and pagination.Results interfaces for use with cursor or token-based pagination.
# Functions
PagesForCount returns the number of pages that total_count will span using criteria defined in opts.
# Type aliases
Method defines the type of pagination Options or Results.