service

package
v0.0.0-...-8c4d7ab Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TodoService

type TodoService interface {
	GetAll() ([]*apimodel.TaskResponse, error)
	Create(*apimodel.TaskCreate) error
	Patch(id common.Identifier, updates *apimodel.TaskUpdate) (*apimodel.TaskResponse, error)
	Delete(common.Identifier) error
}

func NewTodoService

func NewTodoService(s storage.TaskStore) TodoService

Jump to

Keyboard shortcuts

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