Answers for "go ticker"

Go
0

go ticker

ticker := time.NewTicker(20 * time.Second)
for range ticker.C {
  // Do Stuff
}
ticker.Stop()
Posted by: Guest on January-29-2021

Browse Popular Code Answers by Language