Documentation ¶
Index ¶
- type Service
- func (s *Service) AddTag(ctx context.Context, scoreID *string, tagID *string) error
- func (s *Service) CreateGuest(ctx context.Context, name, doc *string) (*string, error)
- func (s *Service) CreateScore(ctx context.Context, date *time.Time, guestID, description *string) (*string, error)
- func (s *Service) CreateTag(ctx context.Context, name *string) (*string, error)
- func (s *Service) FindGuest(ctx context.Context, guestID *string) (*entity.Guest, error)
- func (s *Service) FindScore(ctx context.Context, scoreID *string) (*entity.Score, error)
- func (s *Service) FindTag(ctx context.Context, tagID *string) (*entity.Tag, error)
- func (s *Service) SearchTags(ctx context.Context, name *string) ([]*entity.Tag, error)
- func (s *Service) UseScore(ctx context.Context, scoreID *string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
Repo repo.RepoInterface
}
func NewService ¶
func NewService(repo repo.RepoInterface) *Service
func (*Service) CreateGuest ¶
func (*Service) CreateScore ¶
func (*Service) SearchTags ¶
Click to show internal directories.
Click to hide internal directories.