Small improvements
This commit is contained in:
@@ -14,8 +14,11 @@ type Storage interface {
|
||||
|
||||
//Bookings management
|
||||
CreateBooking(Booking) error
|
||||
UpdateBooking(Booking) error
|
||||
GetBooking(id string) (*Booking, error)
|
||||
GetBookings() ([]Booking, error)
|
||||
GetBookingsForVehicle(vehicleid string) ([]Booking, error)
|
||||
GetBookingsForDriver(driver string) ([]Booking, error)
|
||||
DeleteBooking(id string) error
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user