{"modulePath":"github.com/uber/submitqueue","version":"v0.2.1","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package page\n\nPackage page defines a generic, cursor-paginated result envelope shared across domains. Producers return one bounded Page at a time; callers walk further by passing the page's NextCursor back to the producing call until it is empty.\n\n## Types\n\n```go\ntype Page[T any] struct {\n\t// Items are the elements in this page, in the producer's defined order.\n\tItems []T\n\t// NextCursor is an opaque token for fetching the next page, passed back to\n\t// the producing call. It is empty when this page is the last one. Its\n\t// encoding is defined and interpreted solely by the producer.\n\tNextCursor string\n}\n```\nPage is one bounded slice of a larger sequence, plus an opaque cursor for fetching the next page. The element type T is the domain value being paged (e.g. a commit URI string, or an entity).\n\n","path":"github.com/uber/submitqueue/platform/base/page","name":"page","synopsis":"Package page defines a generic, cursor-paginated result envelope shared across domains.","isRedistributable":true}
