task

package
v0.0.0-...-ad677ad Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2024 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateTask

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

func NewCreateTask

func NewCreateTask(taskRepository task.TaskRepository) *CreateTask

func (*CreateTask) Execute

func (uc *CreateTask) Execute(ctx context.Context, title, description string, dueDate *time.Time) (*task.Task, error)

type GetAllTasks

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

func NewGetAllTasks

func NewGetAllTasks(taskRepository task.TaskRepository) *GetAllTasks

func (GetAllTasks) Execute

func (uc GetAllTasks) Execute(ctx context.Context) ([]*task.Task, error)

Jump to

Keyboard shortcuts

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