Documentation ¶
Index ¶
- Variables
- type BaseController
- func (Base BaseController) Error(c *gin.Context, message string)
- func (Base BaseController) ErrorHtml(c *gin.Context, err error)
- func (Base BaseController) FormBind(c *gin.Context, obj interface{}) error
- func (Base BaseController) Success(c *gin.Context, url string, message string)
- func (Base BaseController) UriBind(c *gin.Context, obj interface{}) error
Constants ¶
This section is empty.
Variables ¶
View Source
var Hc = homeController{}
View Source
var Lc = loginController{}
Functions ¶
This section is empty.
Types ¶
type BaseController ¶
type BaseController struct { }
func (BaseController) FormBind ¶
func (Base BaseController) FormBind(c *gin.Context, obj interface{}) error
Directories ¶
Path | Synopsis |
---|---|
* @Description: * @Author: gphper * @Date: 2021-10-17 14:18:10
|
* @Description: * @Author: gphper * @Date: 2021-10-17 14:18:10 |
* @Description: * @Author: gphper * @Date: 2021-10-17 14:18:10
|
* @Description: * @Author: gphper * @Date: 2021-10-17 14:18:10 |
* @Description: * @Author: gphper * @Date: 2021-10-20 20:03:25
|
* @Description: * @Author: gphper * @Date: 2021-10-20 20:03:25 |
Click to show internal directories.
Click to hide internal directories.