package
3.2.0
Repository: https://github.com/space307/go-utils.git
Documentation: pkg.go.dev

# Functions

NewTicker creates a new ticker, which sends current time to its channel every second, minute, or hour after the specified delay.
TimeNoHourFractions returns the time with all time units less, then an hour set to 0.
TimeNoMinuteFractions returns the time with all time units less, then an hour set to 0.
TimeNoSecondFractions returns the time with all time units less, then a second set to 0.

# Constants

HOUR ticker type means that ticks happen at the beginning of every hour.
INTERVAL ticker type means that ticks happen every given interval in time.Duration.
MINUTE ticker type means that ticks happen at the beginning of every minute.
SECOND ticker type means that ticks happen at the beginning of every second.

# Structs

TimeTicker sends time into a channel every second, minute, or hour at the specified moment.

# Type aliases

TickerType is the type of the ticker.