Skip to content

Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.

Go
421 B
Raw Blame
package lark

import (
	"context"

	"github.com/jackc/pgx/v5"
)

// TxStarter abstracts transaction creation. Re-declared in this package (rather
// than depending on internal/service) so the integrations layer does not
// back-reference into service — a circular dependency we want to avoid as both
// packages grow. Satisfied by *pgxpool.Pool.
type TxStarter interface {
	Begin(ctx context.Context) (pgx.Tx, error)
}