Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reservation ¶
type Reservation struct { ID int FirstName string LastName string Email string Phone string StartDate time.Time EndDate time.Time RoomID int Processed int CreatedAt time.Time UpdatedAt time.Time Room Room }
Reservation is the reservations model
type Restriction ¶
Restriction is the restrictions model
type RoomRestriction ¶
type RoomRestriction struct { ID int StartDate time.Time EndDate time.Time RoomID int ReservationID int RestrictionID int CreatedAt time.Time UpdatedAt time.Time Room Room Reservation Reservation Restriction Restriction }
RoomRestriction is the room restrictions model
type TemplateData ¶
type TemplateData struct { StringMap map[string]string IntMap map[string]int FloatMap map[string]float32 Data map[string]interface{} CSRFToken string Flash string Warning string Error string Form *forms.Form IsAuthenticated int }
TemplateData holds data sent from handlers to templates
Click to show internal directories.
Click to hide internal directories.