Documentation ¶
Index ¶
- type DeckRepoMock
- func (r *DeckRepoMock) CreateDeck(ctx context.Context, deck *entities.Deck) (*entities.Deck, error)
- func (r *DeckRepoMock) DrawDeckCard(ctx context.Context, id uuid.UUID, count int64) ([]*entities.Card, error)
- func (r *DeckRepoMock) 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 DeckRepoMock ¶
type DeckRepoMock struct {
// contains filtered or unexported fields
}
func NewDeckRepoMock ¶
func NewDeckRepoMock() *DeckRepoMock
func (*DeckRepoMock) CreateDeck ¶
func (*DeckRepoMock) DrawDeckCard ¶
Click to show internal directories.
Click to hide internal directories.