You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in order to test code which uses this library it would be very helpful if this library did not directly call time.Now() but instead allowed the user to specify how this library determines when Now is
The text was updated successfully, but these errors were encountered:
in order to test code which uses this library it would be very helpful if this library did not directly call time.Now() but instead allowed the user to specify how this library determines when Now is
This is my optimized version that can meet your needs( https://github.com/jiangzhongqiang/cron/ )
I added a new option Clock
usage: cron.New(cron.WithClock(xxx))
in order to test code which uses this library it would be very helpful if this library did not directly call time.Now() but instead allowed the user to specify how this library determines when Now is
The text was updated successfully, but these errors were encountered: