Get storage location from user
This commit is contained in:
parent
5e2d8e7cff
commit
867143c511
|
@ -5,6 +5,7 @@ import (
|
|||
"sevenkeys/database"
|
||||
"sevenkeys/logic"
|
||||
"sevenkeys/logic/scryfall"
|
||||
"time"
|
||||
|
||||
"github.com/inancgumus/screen"
|
||||
)
|
||||
|
@ -39,10 +40,13 @@ func main() {
|
|||
fmt.Println("No update required.")
|
||||
}
|
||||
|
||||
//storageLocation := logic.GetStorageLocation()
|
||||
storageLocation := logic.GetStorageLocation()
|
||||
|
||||
for {
|
||||
screen.Clear()
|
||||
screen.MoveTopLeft()
|
||||
fmt.Println("Current storage location:", storageLocation)
|
||||
|
||||
time.Sleep(1 * time.Second)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue