From 75053b0ec5f214653d668a555d27ce4cda058356 Mon Sep 17 00:00:00 2001 From: raul Date: Sun, 5 May 2024 12:46:07 +0200 Subject: [PATCH] Minor formatting changes --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 099f1ba..135d317 100644 --- a/main.go +++ b/main.go @@ -36,8 +36,8 @@ func main() { fmt.Println(aemetRequest.Base.Nombre) fmt.Println(aemetRequest.Base.Prediccion.Dia[0].Fecha) - fmt.Println(aemetRequest.Base.Prediccion.Dia[0].Temperatura.Maxima) - fmt.Println(aemetRequest.Base.Prediccion.Dia[0].Temperatura.Minima) + fmt.Printf("Temperatura máxima: %v°C\n", aemetRequest.Base.Prediccion.Dia[0].Temperatura.Maxima) + fmt.Printf("Temperatura mínima: %v°C\n", aemetRequest.Base.Prediccion.Dia[0].Temperatura.Minima) } func getJSON() string {