mirror of
https://codeberg.org/andyscott/weather-cli.git
synced 2024-12-21 12:43:09 -05:00
Update version info
This commit is contained in:
parent
a95a4b97bb
commit
03f023e54b
2 changed files with 3 additions and 3 deletions
|
@ -10,7 +10,7 @@ import (
|
||||||
"google.golang.org/grpc/credentials/insecure"
|
"google.golang.org/grpc/credentials/insecure"
|
||||||
)
|
)
|
||||||
|
|
||||||
const version string = "1.0.0"
|
const version string = "1.0.2"
|
||||||
|
|
||||||
type Weather struct {
|
type Weather struct {
|
||||||
Temp float32 `json:"temp"`
|
Temp float32 `json:"temp"`
|
||||||
|
|
|
@ -16,10 +16,10 @@ func mainMenu(app *Application) {
|
||||||
fmt.Println("================================================")
|
fmt.Println("================================================")
|
||||||
|
|
||||||
fmt.Printf("New in version %s:\n", app.Version)
|
fmt.Printf("New in version %s:\n", app.Version)
|
||||||
|
fmt.Println(" - Minor bugfixes")
|
||||||
|
fmt.Println("New in version 1.0.0:")
|
||||||
fmt.Println(" - Search by zip code")
|
fmt.Println(" - Search by zip code")
|
||||||
fmt.Println(" - Search by city")
|
fmt.Println(" - Search by city")
|
||||||
fmt.Println("New in version 0.3.0")
|
|
||||||
fmt.Println(" - Advanced option: Get historical data")
|
|
||||||
|
|
||||||
mainMenuLoop(app)
|
mainMenuLoop(app)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue