Versions in this module Expand all Collapse all v1 v1.0.0 Aug 12, 2026 Changes in this version + const MaxPageSize + const MaxPages + const MinPageSize + var ErrAborted = errors.New("aborted") + func Confirm(in io.Reader, out io.Writer, summary string) error + func ExtractRawItems(data []byte, itemKey string) ([]json.RawMessage, error) + func OneBasedPage(page, pageSize, total int) int + func OneIndexRawPage(data []byte) []byte + func ParseCommaList(raw string) ([]string, error) + func TotalPages(total, pageSize int) int + type MergedJSONResult struct + Items []json.RawMessage + Pagination MergedPagination + func FetchAllRawPages(itemKey string, startPage int, fetch func(page int) (RawPage, error)) (MergedJSONResult, error) + type MergedPagination struct + HasMore bool + Page int + PageSize int + PagesFetched int + Total int + type RawPage struct + HasMore *bool + Page int + PageSize int + RawJSON []byte + Total int