Documentation ¶
Index ¶
- type TodolistService
- type TodolistServiceImpl
- func (service *TodolistServiceImpl) Create(request web.TodolistCreateRequest) web.TodolistResponse
- func (service *TodolistServiceImpl) Delete(todolistIdParam string)
- func (service *TodolistServiceImpl) FindAll() []web.TodolistResponse
- func (service *TodolistServiceImpl) Update(request web.TodolistUpdateRequest) web.TodolistResponse
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 (service *TodolistServiceImpl) Create(request web.TodolistCreateRequest) web.TodolistResponse
func (*TodolistServiceImpl) Delete ¶
func (service *TodolistServiceImpl) Delete(todolistIdParam string)
func (*TodolistServiceImpl) FindAll ¶
func (service *TodolistServiceImpl) FindAll() []web.TodolistResponse
func (*TodolistServiceImpl) Update ¶
func (service *TodolistServiceImpl) Update(request web.TodolistUpdateRequest) web.TodolistResponse
Click to show internal directories.
Click to hide internal directories.