Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct { }
func (*Controller) Json ¶
func (controller *Controller) Json(c *gin.Context, result *gorm.DB, data interface{})
func (*Controller) JsonFail ¶
func (controller *Controller) JsonFail(c *gin.Context, status int, message string)
func (*Controller) JsonSuccess ¶
Click to show internal directories.
Click to hide internal directories.