Documentation ¶
Index ¶
- func ForecastHandler(w http.ResponseWriter, r *http.Request)
- func GetForecastHandler(w http.ResponseWriter, r *http.Request)
- func HomeHandler(w http.ResponseWriter, r *http.Request)
- func HtmxPriceRange(w http.ResponseWriter, r *http.Request)
- func HtmxPriceRange2(w http.ResponseWriter, r *http.Request)
- func PresentBerlinFlightDestinations(w http.ResponseWriter, r *http.Request)
- func PresentEdinburghFlightDestinations(w http.ResponseWriter, r *http.Request)
- func PresentGlasgowFlightDestinations(w http.ResponseWriter, r *http.Request)
- type SkyscannerPrice
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ForecastHandler ¶
func ForecastHandler(w http.ResponseWriter, r *http.Request)
handles requests to the forecast page
func GetForecastHandler ¶
func GetForecastHandler(w http.ResponseWriter, r *http.Request)
func HomeHandler ¶
func HomeHandler(w http.ResponseWriter, r *http.Request)
HomeHandler handles requests to the home page.
func HtmxPriceRange ¶
func HtmxPriceRange(w http.ResponseWriter, r *http.Request)
func HtmxPriceRange2 ¶
func HtmxPriceRange2(w http.ResponseWriter, r *http.Request)
func PresentBerlinFlightDestinations ¶
func PresentBerlinFlightDestinations(w http.ResponseWriter, r *http.Request)
handles requests to the forecast page
func PresentEdinburghFlightDestinations ¶
func PresentEdinburghFlightDestinations(w http.ResponseWriter, r *http.Request)
handles requests to the forecast page
func PresentGlasgowFlightDestinations ¶
func PresentGlasgowFlightDestinations(w http.ResponseWriter, r *http.Request)
handles requests to the forecast page
Types ¶
type SkyscannerPrice ¶
type SkyscannerPrice struct { Origin string Destination string ThisWeekend sql.NullFloat64 NextWeekend sql.NullFloat64 }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.