mocks

package
v0.0.0-...-3040c09 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 13, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

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 (r *DeckRepoMock) CreateDeck(ctx context.Context, deck *entities.Deck) (*entities.Deck, error)

func (*DeckRepoMock) DrawDeckCard

func (r *DeckRepoMock) DrawDeckCard(ctx context.Context, id uuid.UUID, count int64) ([]*entities.Card, error)

func (*DeckRepoMock) ReadDeck

func (r *DeckRepoMock) ReadDeck(ctx context.Context, id uuid.UUID) (*entities.Deck, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL