mirror of
https://github.com/usual2970/certimate.git
synced 2025-06-08 21:49:52 +00:00
12 lines
226 B
Go
12 lines
226 B
Go
package scheduler
|
|
|
|
import "context"
|
|
|
|
type workflowService interface {
|
|
InitSchedule(ctx context.Context) error
|
|
}
|
|
|
|
func NewWorkflowScheduler(service workflowService) error {
|
|
return service.InitSchedule(context.Background())
|
|
}
|