@@ -359,14 +359,14 @@ func stepWithinAStepWorkflow(dbosCtx DBOSContext, input string) (string, error)
359359// Global counter for retry testing
360360var stepRetryAttemptCount int
361361
362- func stepRetryAlwaysFailsStep (ctx context.Context ) (string , error ) {
362+ func stepRetryAlwaysFailsStep (_ context.Context ) (string , error ) {
363363 stepRetryAttemptCount ++
364364 return "" , fmt .Errorf ("always fails - attempt %d" , stepRetryAttemptCount )
365365}
366366
367367var stepIdempotencyCounter int
368368
369- func stepIdempotencyTest (ctx context.Context ) (string , error ) {
369+ func stepIdempotencyTest (_ context.Context ) (string , error ) {
370370 stepIdempotencyCounter ++
371371 return "" , nil
372372}
@@ -1858,7 +1858,7 @@ type setEventWorkflowInput struct {
18581858}
18591859
18601860func setEventWorkflow (ctx DBOSContext , input setEventWorkflowInput ) (string , error ) {
1861- err := SetEvent (ctx , GenericWorkflowSetEventInput [string ]{ Key : input . Key , Message : input . Message } )
1861+ err := SetEvent (ctx , GenericWorkflowSetEventInput [string ]( input ) )
18621862 if err != nil {
18631863 return "" , err
18641864 }
@@ -1897,7 +1897,7 @@ func setTwoEventsWorkflow(ctx DBOSContext, input setEventWorkflowInput) (string,
18971897}
18981898
18991899func setEventIdempotencyWorkflow (ctx DBOSContext , input setEventWorkflowInput ) (string , error ) {
1900- err := SetEvent (ctx , GenericWorkflowSetEventInput [string ]{ Key : input . Key , Message : input . Message } )
1900+ err := SetEvent (ctx , GenericWorkflowSetEventInput [string ]( input ) )
19011901 if err != nil {
19021902 return "" , err
19031903 }
0 commit comments