mirror of
https://github.com/certimate-go/certimate.git
synced 2026-07-20 21:01:41 +08:00
14 lines
232 B
Go
14 lines
232 B
Go
package scheduler
|
|
|
|
import (
|
|
"context"
|
|
)
|
|
|
|
type workflowService interface {
|
|
InitSchedule(ctx context.Context) error
|
|
}
|
|
|
|
func initWorkflowScheduler(service workflowService) error {
|
|
return service.InitSchedule(context.Background())
|
|
}
|