Documentation
¶
Overview ¶
Package postgres provides the PostgreSQL-backed implementation of the action.AttemptRepository port, reading the action_attempt table (vogel/action/migrations) with native pgx.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttemptRepository ¶
type AttemptRepository struct{}
AttemptRepository implements action.AttemptRepository using pgx. It is stateless: every method receives the pgxtx.DBTX to run against.
func NewAttemptRepository ¶
func NewAttemptRepository() *AttemptRepository
NewAttemptRepository creates a stateless PostgreSQL-backed attempt repository.
Click to show internal directories.
Click to hide internal directories.