Get storage location from user

This commit is contained in:
The Magician 2024-05-30 15:21:41 +01:00
parent 5e2d8e7cff
commit 867143c511
1 changed files with 5 additions and 1 deletions

View File

@ -5,6 +5,7 @@ import (
"sevenkeys/database" "sevenkeys/database"
"sevenkeys/logic" "sevenkeys/logic"
"sevenkeys/logic/scryfall" "sevenkeys/logic/scryfall"
"time"
"github.com/inancgumus/screen" "github.com/inancgumus/screen"
) )
@ -39,10 +40,13 @@ func main() {
fmt.Println("No update required.") fmt.Println("No update required.")
} }
//storageLocation := logic.GetStorageLocation() storageLocation := logic.GetStorageLocation()
for { for {
screen.Clear() screen.Clear()
screen.MoveTopLeft() screen.MoveTopLeft()
fmt.Println("Current storage location:", storageLocation)
time.Sleep(1 * time.Second)
} }
} }