Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BookingRepository ¶
type BookingRepository struct {
// contains filtered or unexported fields
}
func NewBookingRepository ¶
func NewBookingRepository(mgc *mgo.Collection) *BookingRepository
func (*BookingRepository) Create ¶
func (r *BookingRepository) Create(booking *models.Booking) error
func (*BookingRepository) Delete ¶
func (r *BookingRepository) Delete(id string) error
func (*BookingRepository) GetAll ¶
func (r *BookingRepository) GetAll() (bookings []models.Booking)
Click to show internal directories.
Click to hide internal directories.