2024-09-17 19:10:09 +00:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
|
|
|
"gobytest/countdown"
|
|
|
|
"os"
|
2024-09-17 19:43:48 +00:00
|
|
|
"time"
|
2024-09-17 19:10:09 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
func main() {
|
|
|
|
// greet.Greet(os.Stdout, "Elodie")
|
2024-09-17 19:43:48 +00:00
|
|
|
sleeper := countdown.NewConfigurableSleeper(1*time.Second, time.Sleep)
|
2024-09-17 19:10:09 +00:00
|
|
|
|
2024-09-17 19:43:48 +00:00
|
|
|
countdown.Countdown(os.Stdout, sleeper)
|
2024-09-17 19:10:09 +00:00
|
|
|
}
|