mirror of
https://codeberg.org/andyscott/weather-cli.git
synced 2024-11-09 06:00:52 -05:00
Update news
This commit is contained in:
parent
740af88a2a
commit
4660a3e7b4
1 changed files with 5 additions and 5 deletions
10
cmd/menu.go
10
cmd/menu.go
|
@ -8,18 +8,18 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// Displays news and calls loop with menu options
|
||||||
func mainMenu(app *Application) {
|
func mainMenu(app *Application) {
|
||||||
|
|
||||||
// Display main menu
|
|
||||||
fmt.Println("\n=====================================================")
|
fmt.Println("\n=====================================================")
|
||||||
fmt.Printf("| Welcome to the OpenWeatherMap-gRPC Client! v%s |\n", app.Version)
|
fmt.Printf("| Welcome to the OpenWeatherMap-gRPC Client! v%s |\n", app.Version)
|
||||||
fmt.Println("=====================================================")
|
fmt.Println("=====================================================")
|
||||||
|
|
||||||
fmt.Printf("New in version %s:\n", app.Version)
|
fmt.Printf("New in version %s:\n", app.Version)
|
||||||
fmt.Println(" - Advanced option: 'Get historical data' fully functional")
|
fmt.Println(" - Search by zip code")
|
||||||
fmt.Println("New in version 0.2.0")
|
fmt.Println(" - Search by city")
|
||||||
fmt.Println(" - Added gRPC back end for historical data")
|
fmt.Println("New in version 0.3.0")
|
||||||
fmt.Println(" - Option to search historical data added to UI")
|
fmt.Println(" - Advanced option: Get historical data")
|
||||||
|
|
||||||
mainMenuLoop(app)
|
mainMenuLoop(app)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue