Documentation ¶
Index ¶
- type KnowledgeBaseService
- func (s *KnowledgeBaseService) Create(ctx context.Context, ownerID uuid.UUID, topic string, description string) (*entities.KnowledgeBase, error)
- func (s *KnowledgeBaseService) DeleteById(ctx context.Context, id uuid.UUID) error
- func (s *KnowledgeBaseService) GetById(ctx context.Context, id uuid.UUID) (*entities.KnowledgeBase, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KnowledgeBaseService ¶
type KnowledgeBaseService struct {
// contains filtered or unexported fields
}
func NewKnowledgeBaseService ¶
func NewKnowledgeBaseService(knowledgeBaseRepository knowledgeBaseRepositoryInterface) *KnowledgeBaseService
func (*KnowledgeBaseService) Create ¶
func (s *KnowledgeBaseService) Create( ctx context.Context, ownerID uuid.UUID, topic string, description string, ) (*entities.KnowledgeBase, error)
func (*KnowledgeBaseService) DeleteById ¶
func (*KnowledgeBaseService) GetById ¶
func (s *KnowledgeBaseService) GetById(ctx context.Context, id uuid.UUID) (*entities.KnowledgeBase, error)
Click to show internal directories.
Click to hide internal directories.