Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewImpl, NewOptions)
ProviderSet is a provider set for wire
Functions ¶
This section is empty.
Types ¶
type IRepo ¶
type IRepo interface { // QueryBookings serve caller to query all bookings QueryBookings(ctx contextx.Contextx, user *user.Profile) (orders []*order.Info, err error) // Book serve caller to book a car Book(ctx contextx.Contextx, id, projID string, user *user.Profile) (info *order.Booking, err error) // CancelBooking serve caller to cancel an booking by id CancelBooking(ctx contextx.Contextx, id string, user *user.Profile) (err error) }
IRepo declare booking repo service function
func CreateIRepo ¶
Click to show internal directories.
Click to hide internal directories.