todolist

package
v0.0.0-...-33029d4 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InMemoryToDoListRepository

type InMemoryToDoListRepository struct {
	ToDoLists []aggregates.ToDoList
}

func NewInMemoryToDoListRepository

func NewInMemoryToDoListRepository() *InMemoryToDoListRepository

func (*InMemoryToDoListRepository) DeleteById

func (repo *InMemoryToDoListRepository) DeleteById(id uuid.UUID) error

func (*InMemoryToDoListRepository) FindAll

func (repo *InMemoryToDoListRepository) FindAll() ([]aggregates.ToDoList, error)

func (*InMemoryToDoListRepository) FindById

func (*InMemoryToDoListRepository) Store

type NotFoundError

type NotFoundError struct {
	ToDoListUUID uuid.UUID
}

func (NotFoundError) Error

func (e NotFoundError) Error() string

Jump to

Keyboard shortcuts

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