Versions in this module Expand all Collapse all v0 v0.2.1 Sep 17, 2024 v0.2.0 Sep 17, 2024 v0.1.0 Sep 13, 2024 Changes in this version + var ErrPageExceedsBounds = errors.New("Page value exceeds bounds") + func GetIndexRange(page, total, perPage int) (int, int, error) + func Loader(delay time.Duration, done <-chan struct{})