Answer the question
In order to leave comments, you need to log in
How to run a function at a certain time in golang?
How to run a function at a certain time in golang?
I need to run myfunc function, let's say at 00:00 o'clock. How to do it?
Answer the question
In order to leave comments, you need to log in
Looking forward to a response from the author:
Understood: you need to use cron.
it is possible to manage with standard means, through time.After. Example
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question