sipd-transaksi-pembiayaan/handler/http_util/json_result.go
2025-09-16 08:44:58 +07:00

16 lines
404 B
Go

package http_util
type JSONResult struct {
Code int `json:"code" example:"404"`
Message string `json:"message" example:"Not Found"`
Data interface{} `json:"data"`
Meta interface{} `json:"meta"`
}
type JSONResultMeta struct {
TotalCount int `json:"total_count"`
PageCount int `json:"page_count"`
CurrentPage int `json:"current_page"`
PerPage int `json:"per_page"`
}