Documentation ¶
Index ¶
- func AddBooking(store *db.Store, roomID, userID primitive.ObjectID, numPersons int, ...) *types.Booking
- func AddHotel(store *db.Store, name, location string, rating int, room []primitive.ObjectID) *types.Hotel
- func AddRoom(store *db.Store, hotelID primitive.ObjectID, price float64, size string, ...) *types.Room
- func AddUser(store *db.Store, fname, lname string, admin bool) *types.User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddBooking ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.