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 CreatedAt time.Time UpdatedAt time.Time Processed int Room Room }
Reservation is the Reservation model
type Restriction ¶
Restriction is the Restriction model
type RoomRestriction ¶
type RoomRestriction struct { ID int CreatedAt time.Time UpdatedAt time.Time StartDate time.Time EndDate time.Time RoomId int Room Room ReservationId int Reservation Reservation RestrictionId int Restriction Restriction }
RoomRestriction is the Room Restriction model
type TemplateData ¶
type TemplateData struct { StringMap map[string]string IntMap map[string]int FloatMap map[string]float32 Data map[string]any // Any data => void interface interface{} CSRFToken string Flash string Warning string Error string Form *forms.Form IsAuthenticated bool }
TemplateData holds data sent from handlers to templates
Click to show internal directories.
Click to hide internal directories.