go-by-test/main.go

15 lines
229 B
Go
Raw Normal View History

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