Documentation
¶
Index ¶
- func BadRequest(c *gin.Context, message string)
- func Error(c *gin.Context, code int, message string)
- func InternalError(c *gin.Context, message string)
- func NotFound(c *gin.Context, message string)
- func Success(c *gin.Context, data interface{})
- func SuccessWithMessage(c *gin.Context, message string, data interface{})
- type Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BadRequest ¶
func InternalError ¶
func SuccessWithMessage ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.