summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick White <git@njw.name>2022-04-07 11:39:36 +0100
committerNick White <git@njw.name>2022-04-07 11:39:36 +0100
commiteb6cb40ed5abdd42e084204541587fe976135650 (patch)
treebe7724e66177135340c5d1cfa07e85e21177ff26
parent3a4dda5665b1fcf2f53bbdbc18cab5c51beff8d2 (diff)
downloadweather-eb6cb40ed5abdd42e084204541587fe976135650.tar.bz2
weather-eb6cb40ed5abdd42e084204541587fe976135650.zip
Show gust by defaultHEADmaster
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 7e615cc..5121a83 100644
--- a/main.go
+++ b/main.go
@@ -308,7 +308,7 @@ func main() {
desc = fmt.Sprintf("%d", w.weathertype)
}
fmt.Printf("%18s, Temp: %4.1f°C, ", desc, w.temperatureDegC)
- fmt.Printf("Rain: %2d%%, Wind: %4.1fmph\n", w.precipitationPerc, w.windspeedMph)
+ fmt.Printf("Rain: %2d%%, Wind: %4.1fmph, Gust: %4.1fmph\n", w.precipitationPerc, w.windspeedMph, w.windgustMph)
if *verbose {
fmt.Printf("%+v\n\n", w)
}