mirror of
https://github.com/hanzo-fi/payments.git
synced 2026-10-30 20:31:20 +00:00
18 lines
451 B
Go
18 lines
451 B
Go
package activities
|
|
|
|
import (
|
|
"context"
|
|
|
|
"go.temporal.io/sdk/workflow"
|
|
)
|
|
|
|
func (a Activities) StorageSchedulesDelete(ctx context.Context, scheduleID string) error {
|
|
return a.storage.SchedulesDelete(ctx, scheduleID)
|
|
}
|
|
|
|
var StorageSchedulesDeleteActivity = Activities{}.StorageSchedulesDelete
|
|
|
|
func StorageSchedulesDelete(ctx workflow.Context, scheduleID string) error {
|
|
return executeActivity(ctx, StorageSchedulesDeleteActivity, nil, scheduleID)
|
|
}
|