Documentation ¶
Index ¶
- func Fail(c *gin.Context)
- func FailWithDetailed(data interface{}, message string, c *gin.Context)
- func FailWithError(data error) *modelo.Response
- func FailWithMessage(message string, c *gin.Context)
- func Ok(c *gin.Context)
- func OkWithData(data interface{}, c *gin.Context)
- func OkWithDetailed(data interface{}, message string, c *gin.Context)
- func OkWithMessage(message string, c *gin.Context)
- func Result(code int, data interface{}, msg string, c *gin.Context)
- type PageResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FailWithDetailed ¶
func FailWithError ¶ added in v0.2.8
func FailWithMessage ¶
func OkWithData ¶
func OkWithDetailed ¶
func OkWithMessage ¶
Types ¶
type PageResult ¶
Click to show internal directories.
Click to hide internal directories.