WeatherService/src/server/WeatherStruct.go

21 lines
594 B
Go
Raw Normal View History

2020-07-20 18:02:54 +02:00
package server
type Weather struct {
TemperatureCurrent float32 `json:"temperature_current"`
FeelsLike float32 `json:"feels_like"`
TemperatureMin float32 `json:"temperature_min"`
TemperatureMax float32 `json:"temperature_max"`
Pressure int `json:"pressure"`
Humidity int `json:"humidity"`
2020-07-21 16:50:51 +02:00
Description string `json:"description"`
Icon string `json:"icon"`
2020-07-20 18:02:54 +02:00
WindSpeeed float32 `json:"wind_speed"`
WindDegree int `json:"wind_degree"`
Clouds int `json:"clouds"`
Rain int `json:"rain"`
Snow int `json:"snow"`
}