mirror of
https://codeberg.org/andyscott/weather-cli.git
synced 2024-11-09 06:00:52 -05:00
Indendation/brackets
This commit is contained in:
parent
1cc715522e
commit
7ce1f6f861
1 changed files with 6 additions and 6 deletions
|
@ -63,7 +63,6 @@ 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
|
||||||
|
@ -71,6 +70,7 @@ func advancedMenu(app *Application) {
|
||||||
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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue