mirror of
https://codeberg.org/andyscott/weather-cli.git
synced 2024-11-08 05:50:51 -05:00
Indendation/brackets
This commit is contained in:
parent
1cc715522e
commit
7ce1f6f861
1 changed files with 6 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue