services

package
v0.0.0-...-953e6da Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

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 (s *KnowledgeBaseService) DeleteById(ctx context.Context, id uuid.UUID) error

func (*KnowledgeBaseService) GetById

Jump to

Keyboard shortcuts

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