summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick White <git@njw.name>2018-10-15 13:33:19 +0100
committerNick White <git@njw.name>2018-10-15 13:33:19 +0100
commit4bb3d37a5bf84a25fe4498585c551ba53a18dbf7 (patch)
tree004911406dc2460f4345cfe45dce57da7cfebb00
parentf1d8577d556a48a04725f4a4068d904473404062 (diff)
downloadweather-4bb3d37a5bf84a25fe4498585c551ba53a18dbf7.tar.bz2
weather-4bb3d37a5bf84a25fe4498585c551ba53a18dbf7.zip
Add weather descriptions
-rw-r--r--weather.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/weather.go b/weather.go
index 21e95f6..a7dd95d 100644
--- a/weather.go
+++ b/weather.go
@@ -106,6 +106,7 @@ var TypeDescription = map[int]string{
1: "Sunny",
2: "Partly Cloudy",
3: "Sunny Intervals",
+ 5: "Mist",
7: "Light Cloud",
8: "Thick Cloud",
9: "Light Rain Showers",
@@ -113,6 +114,9 @@ var TypeDescription = map[int]string{
11: "Drizzle",
12: "Light Rain",
15: "Heavy Rain",
+ 18: "Sleet",
+ 28: "Thundery Showers",
+ 29: "Thundery Showers",
}
// Our prefered struct