From 627cf45489deba12a1e8bd8e1d33dc98f1689a2d Mon Sep 17 00:00:00 2001 From: aonemd Date: Sun, 18 Mar 2018 10:49:57 +0200 Subject: [PATCH] Replace temperature after icon --- components/dark_sky_weather.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/dark_sky_weather.go b/components/dark_sky_weather.go index 0c0c454..b45ae58 100644 --- a/components/dark_sky_weather.go +++ b/components/dark_sky_weather.go @@ -64,8 +64,8 @@ func main() { } if units == "si" { - fmt.Println(fmt.Sprintf("%s %s %v%s", icon, summary, temperature, celsius_icon)) + fmt.Println(fmt.Sprintf("%s %v%s %s", icon, temperature, celsius_icon, summary)) } else { - fmt.Println(fmt.Sprintf("%s %s %v%s", icon, summary, temperature, fahrenheit_icon)) + fmt.Println(fmt.Sprintf("%s %v%s %s", icon, temperature, fahrenheit_icon, summary)) } }