Get storage location from user
This commit is contained in:
parent
5e2d8e7cff
commit
867143c511
|
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue