Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserInfoResponse ¶
type UserInfoResponse struct { Id primitive.ObjectID `json:"id"` Phone string `json:"phone"` Email string `json:"email"` IsEmailVerified bool `json:"isEmailVerified"` IsDriver bool `json:"isDriver"` RoleIds []int `json:"roleIds"` CreatedAt time.Time `json:"createdAt"` Driver *model.Driver `json:"driver,omitempty"` TransportOperators []*model.TransportOperator `json:"transportOperators,omitempty"` }
func (*UserInfoResponse) Format ¶
func (r *UserInfoResponse) Format(user *model.User, driver *model.Driver, tos []*model.TransportOperator)
Click to show internal directories.
Click to hide internal directories.