gotick A simple go package to run periodic task Usage Import package import "gotick/goptick" Define // Duration d := 1 * time.Second // Function func foo(q chan bool){ } Invoke tic.Gotick(1*d, foo)