sipd-transaksi-master/handler/http_util/json_result.go
2025-09-16 08:42:27 +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"`
}