Small improvements

This commit is contained in:
2022-09-05 07:26:43 +02:00
parent b9b0c10e1c
commit be9ee8372f
7 changed files with 598 additions and 112 deletions

View File

@@ -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
}