Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseLinkMaxID ¶
ParseLinkMaxID extracts the `max_id` from the `next` link for paging to older items.
func ReadAllPaged ¶
func ReadAllPaged[Requester PagedRequester[Response, Element], Response PagedResponse[Element], Element any](authClient *auth.Client, pagedRequester Requester) ([]Element, error)
Types ¶
type PagedRequester ¶
type PagedResponse ¶
Click to show internal directories.
Click to hide internal directories.