Indendation/brackets

This commit is contained in:
Andrew Scott 2022-08-03 00:00:11 -04:00
parent 1cc715522e
commit 7ce1f6f861
Signed by: a
GPG key ID: 3EB62D0BBB8DB381

View file

@ -63,13 +63,13 @@ func advancedMenu(app *Application) {
getPreciseLocation(app) getPreciseLocation(app)
getDate(app) getDate(app)
getHistoricalData(app.Client, app) getHistoricalData(app.Client, app)
}
if app.Forecast.Main.Temp != 0.00 { if app.Forecast.Main.Temp != 0.00 {
validLoc = true validLoc = true
} else { } else {
fmt.Println("I couldn't get any information for that location.") fmt.Println("I couldn't get any information for that location.")
fmt.Println("Are you sure the coordinates are valid?") fmt.Println("Are you sure the coordinates are valid?")
}
} }
printWeather(app) printWeather(app)
app.Forecast.Main.Temp = 0.00 app.Forecast.Main.Temp = 0.00