task

package
v0.0.0-...-14f1b0a Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2022 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 TaskInteractor

type TaskInteractor interface {
	GetAll(ctx context.Context) ([]task.Task, error)
	Get(ctx context.Context, id int) (*task.Task, error)
	Create(ctx context.Context, task task.Task) (int, error)
	Update(ctx context.Context, task task.Task) (*task.Task, error)
	Delete(ctx context.Context, id int) (bool, error)
}

func NewTaskInteractor

func NewTaskInteractor(repository task.TaskRepository) TaskInteractor

Jump to

Keyboard shortcuts

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