blob: 5eec682b930789feb48d4f640813c6aa89e8b804 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
package common
type ErrorResponse struct {
Error string `json:"error"`
}
type MessageResponse struct {
Message string `json:"message"`
}
type PaginatedResponse struct {
Items any `json:"items"`
Total int64 `json:"total"`
Page int `json:"page"`
PerPage int `json:"per_page"`
TotalPages int `json:"total_pages"`
}
|