Versions in this module Expand all Collapse all v1 v1.0.1 May 5, 2020 Changes in this version + func InitValidator() + type CanCheck interface + Check func() error + type ConfigResp struct + Name string + Prefix string + UserModelName string + type DeleteReq struct + Ids string + type GetCurrentUserResp struct + Avatar string + Name string + UserId string + type GlobalResp struct + Code uint16 + Data interface{} + Message string + type MyValidator struct + Trans ut.Translator + Validate *validator.Validate + var GlobalValidator MyValidator + func (m *MyValidator) Check(value interface{}) error + type UserChangePasswordReq struct + Id uint64 + Password string + UserName string + type UserChangeRolesReq struct + Add bool + Id uint64 + Role string + type UserLoginReq struct + Password string + UserName string + type UserLoginResp struct + Roles []string + Token string + UserName string