You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 24, 2025. It is now read-only.
Currently PaginationResponse has the following fields:
typePaginationResponsestruct {
Totalint`json:"total"`// Total number of valuesPageint`json:"page"`// Current page numberLimitint`json:"limit"`// Number of items per pageOffsetint`json:"offset"`// Offset from start of results
}
All the client needs is the total pages and will be nice to have the current page as well. Therefore, it is suggested to modify it to the following:
typePaginationResponsestruct {
TotalPgesint`json:"total_pages"`// Total number of pagesPageint`json:"page"`// Current page number
}
Currently PaginationResponse has the following fields:
All the client needs is the total pages and will be nice to have the current page as well. Therefore, it is suggested to modify it to the following: