data

package
v0.0.0-...-bff681c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 3, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL