todo

package
v0.0.0-...-ede10f1 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateToDoService

type CreateToDoService interface {
	Execute(toDo CreateToDoServiceOptions) (models.ToDo, error)
}

func NewCreateToDoService

func NewCreateToDoService() CreateToDoService

type CreateToDoServiceOptions

type CreateToDoServiceOptions struct {
	ToDo *requests.CreateToDoRequest
}

type DeleteToDoService

type DeleteToDoService interface {
	Execute(toDoOptions DeleteToDoServiceOptions) error
}

func NewDeleteToDoService

func NewDeleteToDoService() DeleteToDoService

type DeleteToDoServiceOptions

type DeleteToDoServiceOptions struct {
	ID uint
}

type ListToDoService

type ListToDoService interface {
	Execute(options *ListToDoServiceOptions) ([]models.ToDo, *int64, error)
}

func NewListToDoService

func NewListToDoService() ListToDoService

type ListToDoServiceOptions

type ListToDoServiceOptions struct {
	Filters *requests.ListToDoRequest
}

type ReadToDoService

type ReadToDoService interface {
	Execute(readToDoOptions ReadToDoServiceOptions) (*models.ToDo, error)
}

func NewReadToDoService

func NewReadToDoService() ReadToDoService

type ReadToDoServiceOptions

type ReadToDoServiceOptions struct {
	ID uint
}

type UpdateToDoService

type UpdateToDoService interface {
	Execute(options UpdateToDoServiceOptions) (*models.ToDo, error)
}

func NewUpdateToDoService

func NewUpdateToDoService() UpdateToDoService

type UpdateToDoServiceOptions

type UpdateToDoServiceOptions struct {
	ID   uint
	Data *requests.UpdateToDoRequest
}

Jump to

Keyboard shortcuts

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