Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Fact ¶
type Fact struct {
Temp int `json:"temp"` // Температура (°C)
FeelsLike int `json:"feels_like"` // Ощущаемая температура (°C).
Condition string `json:"condition"`
WindSpeed float64 `json:"wind_speed"` // Скорость ветра (в м/с).
WindDir string `json:"wind_dir"`
WindGust float64 `json:"wind_gust"`
PressureMm int `json:"pressure_mm"` // Давление (в мм рт. ст.).
PressurePa int `json:"pressure_pa"` // Давление (в гектопаскалях).
Humidity int `json:"humidity"` // Влажность воздуха (в процентах).
}
func (Fact) ConditionReadable ¶
func (Fact) WindDirReadable ¶
Click to show internal directories.
Click to hide internal directories.