Skip to content

Commit 0ef23b6

Browse files
Now uses reference to transaction than value passing
1 parent d0abc42 commit 0ef23b6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

internal/transprocessor/processor.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import (
44
"context"
55

66
"github.com/PythonHacker24/linux-acl-management-backend/internal/session"
7+
"github.com/PythonHacker24/linux-acl-management-backend/internal/types"
78
)
89

910
/*
@@ -16,5 +17,5 @@ import (
1617

1718
/* transaction processor - pluggable to any scheduler */
1819
type TransactionProcessor interface {
19-
Process(ctx context.Context, curSession *session.Session, transaction interface{}) error
20+
Process(ctx context.Context, curSession *session.Session, transaction *types.Transaction) error
2021
}

0 commit comments

Comments
 (0)