Mike Schwörer 1d2f4f70c8
Some checks failed
Build Docker and Deploy / Build Docker Container (push) Has been cancelled
Build Docker and Deploy / Run Unit-Tests (push) Has been cancelled
Build Docker and Deploy / Deploy to Server (push) Has been cancelled
Update goext|gognecht dependencies to new module-root 'git.blackforestbytes'
2025-05-03 16:59:57 +02:00

16 lines
271 B
Go

package db
import (
"git.blackforestbytes.com/BlackForestBytes/goext/sq"
"time"
)
type TxContext interface {
Deadline() (deadline time.Time, ok bool)
Done() <-chan struct{}
Err() error
Value(key any) any
GetOrCreateTransaction(db DatabaseImpl) (sq.Tx, error)
}