Versions in this module Expand all Collapse all v1 v1.1.0 Mar 24, 2024 Changes in this version + const Key + func GetCurrentPageNumber(pageNumber int) (int, bool) + func GetOffset(pageNumber int, perPage int) int + func GetPageCount(n int, perPage int) int + type State struct + CurrentPage int + FirstPageURL string + LastPageURL string + NextPageURL string + PreviousPageURL string + TotalPages int + func GetState(pageNumber int, pageCount int, basePath string, qs map[string]string) (*State, error)