Versions in this module Expand all Collapse all v1 v1.0.0 Jul 8, 2023 Changes in this version + type StringDeleter interface + DeleteAllByThread func(threadId uuid.UUID) error + type StringInteractor struct + Logger logging.Logger + StringRepository StringRepository + func (s *StringInteractor) CreateOne(string core.String) (core.String, error) + func (s *StringInteractor) DeleteById(id uuid.UUID) error + func (s *StringInteractor) FindAll() ([]core.String, error) + func (s *StringInteractor) FindAllByThread(threadId uuid.UUID) ([]core.String, error) + func (s *StringInteractor) UpdateName(stringId uuid.UUID, name string) error + func (s *StringInteractor) UpdateOrder(stringOrders []core.StringOrder) error + type StringRepository interface + CreateOne func(core.String) (core.String, error) + DeleteById func(id uuid.UUID) error + FindAll func() ([]core.String, error) + FindAllByThread func(threadId uuid.UUID) ([]core.String, error) + UpdateName func(stringId uuid.UUID, name string) error + UpdateOrder func(stringOrders []core.StringOrder) error + type ThreadInteractor struct + Logger logging.Logger + Repo ThreadRepository + StringDeleter StringDeleter + func (t *ThreadInteractor) CreateOne(thread core.Thread) (core.Thread, error) + func (t *ThreadInteractor) DeleteById(id uuid.UUID) error + func (t *ThreadInteractor) FindAll() ([]core.Thread, error) + type ThreadRepository interface + CreateOne func(thread core.Thread) (core.Thread, error) + DeleteById func(id uuid.UUID) error + FindAll func() ([]core.Thread, error)