package
0.22.5
Repository: https://github.com/usememos/memos.git
Documentation: pkg.go.dev

# Functions

New create a new Cron struct with default tick interval of 1 minute and timezone in UTC.
NewMoment creates a new Moment from the specified time.
NewSchedule creates a new Schedule from a cron expression.

# Structs

Cron is a crontab-like struct for tasks/jobs scheduling.
Moment represents a parsed single time moment.
Schedule stores parsed information for each time component when a cron job should run.