Documentation ¶
Index ¶
- func DisplayForecastData(location string, dailyDetails map[time.Weekday]model.DailyWeatherDetails)
- func ProcessForecastData(weeklyData []model.WeatherData, config WeatherPleasantnessConfig) (map[time.Weekday]model.DailyWeatherDetails, float64)
- func ProcessLocation(location model.DestinationInfo) (float64, map[time.Weekday]model.DailyWeatherDetails)
- type ForecastResponse
- type WeatherPleasantnessConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DisplayForecastData ¶
func ProcessForecastData ¶
func ProcessForecastData(weeklyData []model.WeatherData, config WeatherPleasantnessConfig) (map[time.Weekday]model.DailyWeatherDetails, float64)
func ProcessLocation ¶
Types ¶
type ForecastResponse ¶
type ForecastResponse struct {
List []model.WeatherData `json:"list"`
}
type WeatherPleasantnessConfig ¶
func LoadWeatherPleasantnessConfig ¶
func LoadWeatherPleasantnessConfig(filePath string) (WeatherPleasantnessConfig, error)
Click to show internal directories.
Click to hide internal directories.