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
}
Click to show internal directories.
Click to hide internal directories.