DevBits
Home
Atlas
Play
About
Sign up
Log in
All
Go
time.NewTimer()
Examples using...
time.NewTimer()
Recent
Concurrency
Timers
Timers in Go
by yhuang
Go
time.NewTimer
fmt.Println
time.Second
fmt
time
Timers represent a single event in the future. You tell the timer how long you want to wait, and it provides a channel that will be notified at that time.