Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiResponse ¶
type ApiResponse struct { Success bool `json:"success"` Data interface{} `json:"data"` Message string `json:"message"` StatusCode int `json:"status_code"` }
func (*ApiResponse) SetProperties ¶
func (r *ApiResponse) SetProperties(success bool, data interface{}, message string) *ApiResponse
Click to show internal directories.
Click to hide internal directories.