Minor formatting changes

This commit is contained in:
raul 2024-05-05 12:46:07 +02:00
parent 3f9fb89b6d
commit 75053b0ec5
1 changed files with 2 additions and 2 deletions

View File

@ -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 {