store

package
v0.0.0-...-d22c78a Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2021 License: MIT Imports: 7 Imported by: 0

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

Jump to

Keyboard shortcuts

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