Documentation ¶
Index ¶
- type Deck
- type DeckPostgresRepo
- func (r *DeckPostgresRepo) CreateDeck(ctx context.Context, deck *entities.Deck) (*entities.Deck, error)
- func (r *DeckPostgresRepo) DrawDeckCard(ctx context.Context, id uuid.UUID, count int64) ([]*entities.Card, error)
- func (r *DeckPostgresRepo) Migrate() error
- func (r *DeckPostgresRepo) ReadDeck(ctx context.Context, id uuid.UUID) (*entities.Deck, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeckPostgresRepo ¶
type DeckPostgresRepo struct {
// contains filtered or unexported fields
}
func NewDeckPostgresRepo ¶
func (*DeckPostgresRepo) CreateDeck ¶
func (*DeckPostgresRepo) DrawDeckCard ¶
func (*DeckPostgresRepo) Migrate ¶
func (r *DeckPostgresRepo) Migrate() error
Click to show internal directories.
Click to hide internal directories.