Documentation
¶
Index ¶
- func ResponseCreated[T any](ctx *gin.Context, data T)
- func ResponseCreatedPlain(ctx *gin.Context)
- func ResponseJSON[T any](ctx *gin.Context, statusCode int, message string, data T, ...)
- func ResponseOK[T any](ctx *gin.Context, data T)
- func ResponseOKPagination[T any](ctx *gin.Context, data T, paging *dto.PageMetaData)
- func ResponseOKPlain(ctx *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResponseCreated ¶
func ResponseCreatedPlain ¶
func ResponseJSON ¶
func ResponseOK ¶
func ResponseOKPagination ¶
func ResponseOKPagination[T any](ctx *gin.Context, data T, paging *dto.PageMetaData)
func ResponseOKPlain ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.