Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BungalowRestriction ¶ added in v1.0.107
type BungalowRestriction struct { ID int StartDate time.Time EndDate time.Time BungalowID int ReservationID int RestrictionID int CreatedAt time.Time UpdatedAt time.Time Bungalow Bungalow Reservation Reservation Restriction Restriction }
BungalowRestriction is a model of a bungalow restriction
type Reservation ¶ added in v1.0.67
type Reservation struct { ID int FullName string Email string Phone string StartDate time.Time EndDate time.Time BungalowID int CreatedAt time.Time UpdatedAt time.Time Bungalow Bungalow Status int }
Reservation is the model of a reservation
type Restriction ¶ added in v1.0.107
Restriction is the model of a restriction
type TemplateData ¶
type TemplateData struct { StringMap map[string]string IntMap map[string]int FloatMap map[string]float64 Data map[string]interface{} CSRFToken string Success string Warning string Error string Form *forms.Form IsAuthenticated int }
TemplateData holds any kind of data sent from handlers to templates
Click to show internal directories.
Click to hide internal directories.