Skip to content

Commit

Permalink
feat: stubs added for trm
Browse files Browse the repository at this point in the history
  • Loading branch information
adyusupov committed Jun 27, 2024
1 parent 14d53cb commit 058d3b6
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions transactions/stubs.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package transactions

import "context"

type TrmStub struct{}

func NewTrmStub() *TrmStub {
return &TrmStub{}
}

func (t *TrmStub) Do(ctx context.Context, fn func(ctx context.Context) error) error {
return fn(ctx)
}

0 comments on commit 058d3b6

Please sign in to comment.