Documentation ¶
Index ¶
- func FewDaysLater(day int) int64
- func FewDurationLater(duration time.Duration) int64
- func FewDurationLaterTime(duration time.Duration) time.Time
- func IsExpired(expirationTime time.Time) bool
- func SixHoursLater() int64
- func TwentyFourHoursLater() int64
- type RealTimer
- type RealUUID
- type Timer
- type UUID
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FewDaysLater ¶
FewDaysLater aims to calculate time for given day later
func FewDurationLater ¶
FewDurationLater calculates a time for given duration
func FewDurationLaterTime ¶
FewDurationLater calculates a time for given duration
func SixHoursLater ¶
func SixHoursLater() int64
SixHoursLater aims to calculate time for 6 hours later
func TwentyFourHoursLater ¶
func TwentyFourHoursLater() int64
TwentyFourHoursLater aims to calculate time for 24 hours later
Types ¶
Click to show internal directories.
Click to hide internal directories.