service

package
v0.0.0-...-34c9f11 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TodolistService

type TodolistService interface {
	Create(request web.TodolistCreateRequest) web.TodolistResponse
	Update(request web.TodolistUpdateRequest) web.TodolistResponse
	Delete(todolistIdParam string)
	FindAll() []web.TodolistResponse
}

type TodolistServiceImpl

type TodolistServiceImpl struct {
	TodolistRepository repository.TodolistRepository
	DBPath             string
	Validate           *validator.Validate
}

func NewTodolistServiceImpl

func NewTodolistServiceImpl(todolistRepository repository.TodolistRepository, dbPath string, validate *validator.Validate) *TodolistServiceImpl

func (*TodolistServiceImpl) Create

func (*TodolistServiceImpl) Delete

func (service *TodolistServiceImpl) Delete(todolistIdParam string)

func (*TodolistServiceImpl) FindAll

func (service *TodolistServiceImpl) FindAll() []web.TodolistResponse

func (*TodolistServiceImpl) Update

Jump to

Keyboard shortcuts

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