Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Deck ¶
Deck represents a deck of cards.
func DomainDeckToDeck ¶
DomainDeckToDeck transforms a domain deck to a repo deck.
type Repository ¶
type Repository struct {
// contains filtered or unexported fields
}
Repository is a PostgreSQL implementation of the deckr.Repository interface.
func NewRepository ¶
NewRepository creates a new PostgreSQL repository.
func (*Repository) Close ¶ added in v0.3.3
func (r *Repository) Close(ctx context.Context) error
Close closes any external connection in the repository.
Click to show internal directories.
Click to hide internal directories.