WeatherService/src/server/WeatherStruct.go

21 lines
594 B
Go

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"`
Description string `json:"description"`
Icon string `json:"icon"`
WindSpeeed float32 `json:"wind_speed"`
WindDegree int `json:"wind_degree"`
Clouds int `json:"clouds"`
Rain int `json:"rain"`
Snow int `json:"snow"`
}