function
ListPageBounds
func ListPageBounds(
page,
limit,
total int,
) (normalizedPage, normalizedLimit, start, end int)Normalize list paging and calculate safe half-open result bounds.
function
func ListPageBounds(
page,
limit,
total int,
) (normalizedPage, normalizedLimit, start, end int)Normalize list paging and calculate safe half-open result bounds.