Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TodoStore ¶
type TodoStore interface { GetById(id uuid.UUID) (*entities.Todo, error) List() ([]entities.Todo, error) Create(todo *entities.Todo) error Update(id uuid.UUID, todo *entities.Todo) error DeleteById(id uuid.UUID) error }
func NewTodoStoreDB ¶
func NewTodoStoreDB() TodoStore
func NewTodoStoreMemory ¶
func NewTodoStoreMemory() TodoStore
Click to show internal directories.
Click to hide internal directories.