Files
threshold/internal/pagination/doc.go
T
Johan Brandhorst-Satzkorn 78541ad05e internal/pagination: add new pagination package
The pagination package provides generic functions for
iterating over a collection of items such that each incoming
request is filled even after filtering is applied.
2024-01-05 07:43:19 -08:00

10 lines
390 B
Go

// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1
// Package pagination implements generic functions for paginating
// through a collection using callbacks. The functions will automatically
// request additional items to match the input page size even when
// some items may be filtered out.
// See example_test.go for examples of using the library.
package pagination