fix: add RegisterService
This commit is contained in:
parent
c397cc9fcb
commit
16a3b531ac
|
@ -4,6 +4,7 @@ import "github.com/go-co-op/gocron/v2"
|
||||||
|
|
||||||
type CronService interface {
|
type CronService interface {
|
||||||
Scheduler() gocron.Scheduler
|
Scheduler() gocron.Scheduler
|
||||||
|
RegisterService(service CronableService)
|
||||||
Service
|
Service
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue