You can use sync WaitGroup too https://play.golang.org/p/bb3a6t1N-C
But WILL NOT WORK ON playground, because of limitations of time package on playground. Regards. Em quarta-feira, 22 de fevereiro de 2017 21:39:12 UTC-4, Keith Brown escreveu: > > Oddly, I can't find a single example on the world wide web for what I am > trying to do. > > I have 2 functions which I want to run on a periodic basis. The functions > are square and cube. > Here is my code so far. https://play.golang.org/p/akMxcg2Sra > But, I am not sure how to schedule these functions. I looked here, > https://gobyexample.com/tickers, but really isn't that helpful or > intuitive. > > > > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.