Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MapPaginationMeta ¶
func MapPaginationMeta(s *pb.PaginationMeta) *response.PaginationMeta
mapPaginationMeta maps a gRPC PaginationMeta to an HTTP-compatible API response PaginationMeta.
Args:
- s: A pointer to a pb.PaginationMeta containing the gRPC response data.
Returns:
- A pointer to a response.PaginationMeta containing the mapped data, including current page, page size, total records, and total pages.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.