Documentation ¶
Index ¶
- func AddBooking(store *db.Store, uid, rid primitive.ObjectID, from, till time.Time) *types.Booking
- func AddHotel(store *db.Store, name string, loc string, rating int, ...) *types.Hotel
- func AddRoom(store *db.Store, size string, ss bool, price float64, hid primitive.ObjectID) *types.Room
- func AddUser(store *db.Store, fn, ln 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.