github.com/pongsanti/pager (go): It computes pagination values (all page, offset) from input parameters (page, limit, all record)
Keywords: pagination