aditya.siregar 67f1dbc850 init project
2024-05-28 14:14:55 +07:00

13 lines
456 B
Go

package response
type BaseResponse struct {
Success bool `json:"success"`
Code string `json:"response_code,omitempty"`
Status int `json:"-"`
Message string `json:"message,omitempty"`
ErrorMessage string `json:"error_message,omitempty"`
ErrorDetail interface{} `json:"error_detail,omitempty"`
Data interface{} `json:"data,omitempty"`
PagingMeta *PagingMeta `json:"meta,omitempty"`
}