package
Version:
v0.1.9
Opens a new window with list of versions in this module.
Published: Apr 13, 2026
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Cursor[T any] struct {
Items []T `json:"items"`
NextCursor string `json:"next_cursor"`
HasNext bool `json:"has_next"`
}
Cursor is a generic wrapper for cursor-based paginated responses.
type Page[T any] struct {
Items []T `json:"items"`
Total int64 `json:"total"`
}
Page is a generic wrapper for offset-based paginated responses.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.