19 lines
503 B
Go
19 lines
503 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"`
|
||
|
|
||
|
WindSpeeed float32 `json:"wind_speed"`
|
||
|
WindDegree int `json:"wind_degree"`
|
||
|
|
||
|
Clouds int `json:"clouds"`
|
||
|
|
||
|
Rain int `json:"rain"`
|
||
|
Snow int `json:"snow"`
|
||
|
}
|