Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Courier ¶
type Courier struct { Id int `json:"id" db:"id"` Name string `json:"name" db:"name"` Phone string `json:"phone" db:"phone"` Password string `json:"password" db:"password_hash"` Email string `json:"email" db:"email"` Address *Location `json:"location" db:"location"` WorkingStatus int `json:"working_status" db:"working_status"` }
type Order ¶
type Order struct { Id int `json:"id" db:"id"` UserId int `json:"user_id" db:"user_id"` RestaurantId int `json:"restaurant_id" db:"restaurant_id"` CourierId int `json:"courier_id" db:"courier_id"` DeliveryPrice int `json:"delivery_price" db:"delivery_price"` TotalPrice int `json:"total_price" db:"total_price"` Status int `json:"status" db:"status"` Paid *time.Time `json:"paid" db:"paid"` }
type Restaurant ¶
type Restaurant struct { Id int `json:"id" db:"id"` Name string `json:"name" db:"name"` Phone string `json:"phone" db:"phone"` Password string `json:"password" db:"password_hash"` WorkingStatus int `json:"working_status" db:"working_status"` Address *Location `json:"location" db:"location"` Image string `json:"image" db:"image"` }
Click to show internal directories.
Click to hide internal directories.