Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewImpl)
ProviderSet is a provider set for wire
Functions ¶
This section is empty.
Types ¶
type IHandler ¶
type IHandler interface { // ListBookings serve caller to list all bookings ListBookings(c *gin.Context) // GetBookingByID serve caller to get a booking by id GetBookingByID(c *gin.Context) // Book serve caller to book a car Book(c *gin.Context) // CancelBooking serve caller to cancel a booking by id CancelBooking(c *gin.Context) }
IHandler declare booking api handler function
Click to show internal directories.
Click to hide internal directories.