Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Driver ¶
type Driver struct { ID string `json:"id" pg:"type:uuid,default:gen_random_uuid()"` FirstName string `json:"firstName" pg:",notnull"` LastName *string `json:"lastName"` PhoneNo string `json:"phoneNo" pg:",unique,notnull"` Gender model.Gender `json:"gender" pg:",notnull"` Rating float64 `json:"rating" pg:",notnull"` Pic string `json:"pic" pg:",notnull"` }
Driver model
Click to show internal directories.
Click to hide internal directories.