Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Response ¶
type Response struct { Success bool `json:"success"` Message string `json:"message"` Data interface{} `json:"data"` }
func MessageResponse ¶
func NewErrorResponse ¶
func NewResourceResponse ¶
func NewResourceResponse(d interface{}) Response
Click to show internal directories.
Click to hide internal directories.