pagination.go 201 B

1234567
  1. package utils
  2. // PaginatedResponse is a structure for returning a total count with results.
  3. type PaginatedResponse struct {
  4. Results interface{} `json:"results"`
  5. Total int `json:"total"`
  6. }