Minor formatting changes
This commit is contained in:
parent
3f9fb89b6d
commit
75053b0ec5
4
main.go
4
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 {
|
||||
|
|
Loading…
Reference in New Issue