Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RenderData ¶
RenderData returns data response
Types ¶
type ResponseCursor64Paging ¶
type ResponsePaging ¶
type ResponsePaging struct {
Total uint32 `json:"total"`
}
ResponsePaging holds paging response information
type User ¶
type User struct { UserID string `json:"user_id"` UserName string `json:"username"` Email string `json:"email"` PhoneNumber string `json:"phone_number"` AvatarLink string `json:"avatar_link"` RoleCode string `json:"role"` }
InternalUser holds response information of internal users
func FormInternalUser ¶
FormInternalUser convert an internal user entity struct to its presenter struct
func FormInternalUsers ¶
FormInternalUsers converts a list of internal user entity struct to a list of its presenter struct
Click to show internal directories.
Click to hide internal directories.