summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick White <git@njw.name>2018-03-21 21:14:16 +0000
committerNick White <git@njw.name>2018-03-21 21:14:43 +0000
commit721984f06ee52484558a70f03a7859236fdef512 (patch)
treeec2f54e5caa29165655c39cb33769ce751a585a2
parent91449c357ee5ab4b04c06c64cf06a74663287f79 (diff)
downloadweather-721984f06ee52484558a70f03a7859236fdef512.tar.bz2
weather-721984f06ee52484558a70f03a7859236fdef512.zip
Fix up output slightly
-rw-r--r--weather.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weather.go b/weather.go
index be227cb..eed74d9 100644
--- a/weather.go
+++ b/weather.go
@@ -93,5 +93,5 @@ func main() {
}
func prettyWeather(t string, w WeatherParams) {
- fmt.Printf("%s Type: %2d, Temp: %4.1f°C, Rain: %2d%%, Wind: %2.1fkph\n", t, w.WT, w.T, w.PP, w.WS)
+ fmt.Printf("%s Type: %2d, Temp: %4.1f°C, Rain: %2d%%, Wind: %2.1fm/s\n", t, w.WT, w.T, w.PP, w.WS)
}