mirror of
https://codeberg.org/andyscott/weather-cli.git
synced 2024-11-08 05:50:51 -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"
|
||||
)
|
||||
|
||||
// Displays news and calls loop with menu options
|
||||
func mainMenu(app *Application) {
|
||||
|
||||
// Display main menu
|
||||
fmt.Println("\n=====================================================")
|
||||
fmt.Printf("| Welcome to the OpenWeatherMap-gRPC Client! v%s |\n", app.Version)
|
||||
fmt.Println("=====================================================")
|
||||
|
||||
fmt.Printf("New in version %s:\n", app.Version)
|
||||
fmt.Println(" - Advanced option: 'Get historical data' fully functional")
|
||||
fmt.Println("New in version 0.2.0")
|
||||
fmt.Println(" - Added gRPC back end for historical data")
|
||||
fmt.Println(" - Option to search historical data added to UI")
|
||||
fmt.Println(" - Search by zip code")
|
||||
fmt.Println(" - Search by city")
|
||||
fmt.Println("New in version 0.3.0")
|
||||
fmt.Println(" - Advanced option: Get historical data")
|
||||
|
||||
mainMenuLoop(app)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue