mirror of
https://codeberg.org/andyscott/weather-cli.git
synced 2024-11-09 06:00:52 -05:00
Flattened directory structure
This commit is contained in:
parent
3c2985203f
commit
91f5a13625
5 changed files with 12 additions and 13 deletions
|
@ -94,6 +94,7 @@ func main() {
|
||||||
}
|
}
|
||||||
option = strings.TrimSuffix(input, "\n")
|
option = strings.TrimSuffix(input, "\n")
|
||||||
|
|
||||||
|
}
|
||||||
// Check user input
|
// Check user input
|
||||||
if option == "1" || option == "" {
|
if option == "1" || option == "" {
|
||||||
getLocation(&app)
|
getLocation(&app)
|
||||||
|
@ -107,6 +108,4 @@ func main() {
|
||||||
fmt.Print("\nOops! An error occurred, please choose a valid option.\n\n")
|
fmt.Print("\nOops! An error occurred, please choose a valid option.\n\n")
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in a new issue