Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProfileData ¶
type ProfileData struct {
Profile Profile `json:"profile"`
}
type ProfileRequest ¶
func (ProfileRequest) Validate ¶
func (p ProfileRequest) Validate() error
type UpdateUserRequest ¶
type UpdateUserRequest struct { UserID int64 `json:"-"` Fullname string `json:"fullname"` PhoneNumber string `json:"phone_number"` UserType string `json:"user_type"` Email string `json:"email"` Password string `json:"password"` UpdateBy string `json:"-"` }
func (UpdateUserRequest) Validate ¶
func (cup UpdateUserRequest) Validate() error
type UpdateUserStatusRequest ¶
type UpdateUserStatusRequest struct { UserID int64 `json:"-"` UpdateBy string `json:"-"` Status int `json:"status"` }
func (UpdateUserStatusRequest) Validate ¶
func (ussp UpdateUserStatusRequest) Validate() error
Click to show internal directories.
Click to hide internal directories.