usecase

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type TodoUseCase

type TodoUseCase struct {
	// contains filtered or unexported fields
}

func (TodoUseCase) GetTaskById

func (t TodoUseCase) GetTaskById(id uint) (*entity.Todo, error)

func (TodoUseCase) GetTasks

func (t TodoUseCase) GetTasks(filters []httpquery.FilterOption, pagination httpquery.Pagination) ([]entity.Todo, error)

func (TodoUseCase) SaveTask

func (t TodoUseCase) SaveTask(task *entity.Todo) error

Jump to

Keyboard shortcuts

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