Documentation ¶
Index ¶
- Variables
- func CaptchaServe(w http.ResponseWriter, r *http.Request, id, ext, lang string, download bool, ...) error
- func GetError(errs validator.ValidationErrors, r interface{}) string
- func GetEventDispatcher(c *gin.Context) *src.EventDispatcher
- func IsSuperAdmin(roles []string, role string) bool
- func Pages(page int, pageSize int, total int, rows interface{}) map[string]interface{}
- type Del
- type GAD_MODEL
- type List
- type LocalTime
- type MyJson
- type Response
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func CaptchaServe ¶
func CaptchaServe(w http.ResponseWriter, r *http.Request, id, ext, lang string, download bool, width, height int) error
CaptchaServe 验证码
func GetError ¶
func GetError(errs validator.ValidationErrors, r interface{}) string
GetError 获取错误信息
func GetEventDispatcher ¶
func GetEventDispatcher(c *gin.Context) *src.EventDispatcher
Types ¶
type LocalTime ¶
func (*LocalTime) MarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.