init project
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
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"`
|
||||
}
|
||||
Reference in New Issue
Block a user