Versions in this module Expand all Collapse all v1 v1.0.1 Sep 21, 2022 v1.0.0 Sep 21, 2022 Changes in this version + const CErrJSON + const CErrParam + const CErrTypeConversion + type AnnouncementController struct + func (c *AnnouncementController) Add(g *gin.Context) + func (c *AnnouncementController) Del(g *gin.Context) + func (c *AnnouncementController) GetAll(g *gin.Context) + func (c *AnnouncementController) GetById(g *gin.Context) + func (c *AnnouncementController) UpDate(g *gin.Context) + type BaseController struct + func (c *BaseController) ResponseData(g *gin.Context, data interface{}) + func (c *BaseController) ResponseFailure(g *gin.Context, httpCode, code int, err interface{}) + func (c *BaseController) ResponseFailureForFuncErr(g *gin.Context, err interface{}) + func (c *BaseController) ResponseFailureForParameter(g *gin.Context, err interface{}) + func (c *BaseController) ResponseSuccess(g *gin.Context)