Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrDeckNotFound = errors.New("deck not found")
ErrDeckNotFound is the error returned when a deck is not found.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository struct {
// contains filtered or unexported fields
}
Repository is an in-memory implementation of the deckr.Repository interface.
func NewRepository ¶
func NewRepository(log *logger.Logger) *Repository
NewRepository creates a new in-memory repository.
Click to show internal directories.
Click to hide internal directories.