Documentation ¶
Index ¶
- func AppError(ctx *gin.Context, err appError.App)
- func BadRequest(ctx *gin.Context, err error)
- func Created(ctx *gin.Context)
- func GenericError(ctx *gin.Context, err error)
- func NoContent(ctx *gin.Context)
- func Success(ctx *gin.Context)
- func SuccessWithCollection(ctx *gin.Context, data any)
- func SuccessWithData(ctx *gin.Context, data any)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BadRequest ¶
TODO: I have to delete the v10 Lib dependency implementing my validation
func GenericError ¶
func SuccessWithCollection ¶
func SuccessWithData ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.