Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EditDriverReq ¶
type EditDriverReq struct { FirstName string `json:"first_name" form:"first_name" validate:"required"` LastName string `json:"last_name" form:"last_name" validate:"required"` DateOfBirth string `json:"date_of_birth" form:"date_of_birth"` Age int `json:"age" form:"age"` Gender string `json:"gender" form:"gender"` ProfilePicture string `json:"profile_picture" form:"profile_picture"` }
type GetDriverDetailsRes ¶
type GetDriverDetailsRes struct { ID string `json:"id"` FirstName string `json:"first_name"` LastName string `json:"last_name"` Email string `json:"email"` DateOfBirth time.Time `json:"date_of_birth"` RegistrationNumber string `json:"registration_number"` Age int `json:"age"` Gender string `json:"gender"` ProfilePicture string `json:"profile_picture"` }
type LocationReq ¶
Click to show internal directories.
Click to hide internal directories.