Documentation
¶
Index ¶
- func InsertBooking(store *db.Store, userID, roomID primitive.ObjectID, numGuests int, ...) *types.Booking
- func InsertHotel(store *db.Store, name string, location string, rating int) *types.Hotel
- func InsertRoom(store *db.Store, size string, seaside bool, price float64, ...) *types.Room
- func InsertUser(store *db.Store, fname, lname string, isAdmin bool) *types.User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InsertBooking ¶
func InsertHotel ¶
func InsertRoom ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.