new grpc functions
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 34s
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 34s
This commit is contained in:
@@ -23,7 +23,8 @@ type Storage interface {
|
||||
CreateBooking(types.Booking) error
|
||||
GetAllBookings() ([]*types.Booking, error)
|
||||
GetBooking(id string) (*types.Booking, error)
|
||||
UpdateBookingStatus(bookingid string, newStatus string) error
|
||||
UpdateBooking(booking types.Booking) error
|
||||
UpdateBookingStatus(bookingid string, newStatus string, reason string) error
|
||||
}
|
||||
|
||||
func NewStorage(cfg *viper.Viper) (Storage, error) {
|
||||
|
||||
Reference in New Issue
Block a user