1 Star 1 Fork 0

go-wena / cron

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
cron.go 416 Bytes
一键复制 编辑 原始数据 按行查看 历史
k3x 提交于 2021-06-14 00:27 . clone from https://github.com/robfig/cron
package cron
import "time"
// ScheduleParser is an interface for schedule spec parsers that return a Schedule
type ScheduleParser interface {
Parse(spec string) (Schedule, error)
}
// Schedule describes a job's duty cycle.
type Schedule interface {
// Next returns the next activation time, later than the given time.
// Next is invoked initially, and then each time the job is run.
Next(time.Time) time.Time
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/go-wena/cron.git
git@gitee.com:go-wena/cron.git
go-wena
cron
cron
main

搜索帮助

344bd9b3 5694891 D2dac590 5694891