Update news

This commit is contained in:
Andrew Scott 2022-08-08 04:33:25 -04:00
parent 740af88a2a
commit 4660a3e7b4
Signed by: a
GPG key ID: 3EB62D0BBB8DB381

View file

@ -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)
}