8 lines
137 B
Go
8 lines
137 B
Go
package domain
|
|
|
|
import "context"
|
|
|
|
type Transactor interface {
|
|
WithinTx(ctx context.Context, fn func(ctx context.Context) error) error
|
|
}
|