Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NextDayOf ¶
This function calculates the time for the next occurrence of the specified hour and minute within a day.
hour is an integer representing the desired hour (0-23). minute is an integer representing the desired minute (0-59). Return A time.Time object representing the date and time for the next occurrence of the specified hour and minute.
func SleepContext ¶ added in v0.0.6
Sleep until ctx done or timeout return false if ctx is Done
func UntilNextDay ¶ added in v0.0.6
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.