From 7ce1f6f86196013a74f09e9220681cb4995b1507 Mon Sep 17 00:00:00 2001 From: Andrew Scott Date: Wed, 3 Aug 2022 00:00:11 -0400 Subject: [PATCH] Indendation/brackets --- cmd/advanced.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/cmd/advanced.go b/cmd/advanced.go index fb3602c..6fcbc03 100644 --- a/cmd/advanced.go +++ b/cmd/advanced.go @@ -63,13 +63,13 @@ func advancedMenu(app *Application) { getPreciseLocation(app) getDate(app) getHistoricalData(app.Client, app) - } - if app.Forecast.Main.Temp != 0.00 { - validLoc = true - } else { - fmt.Println("I couldn't get any information for that location.") - fmt.Println("Are you sure the coordinates are valid?") + if app.Forecast.Main.Temp != 0.00 { + validLoc = true + } else { + fmt.Println("I couldn't get any information for that location.") + fmt.Println("Are you sure the coordinates are valid?") + } } printWeather(app) app.Forecast.Main.Temp = 0.00