Versions in this module Expand all Collapse all v0 v0.2.1 Dec 16, 2019 v0.2.0 Dec 2, 2019 Changes in this version + func BjutRegister(c *gin.Context) + func CurrentUser(c *gin.Context) model.User + func Home(c *gin.Context) + func Login(c *gin.Context) + func Logout(c *gin.Context) + func Register(c *gin.Context) + func Update(c *gin.Context) + type HomeInfo struct + ClassName string + College string + CreatedAt time.Time + Email string + ID uint + Major string + NickName string + Number string + RealName string + Telephone string + type LoginInfo struct + Nickname string + Password string + type RegisterInfo struct + NickName string + Password string + PwdConfirm string