Documentation ¶
Overview ¶
Package applyForVacation provides the apply for vacation use-case
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface {
Execute(ctx context.Context, vr domain.VacationRequest) string
}
Service implements the apply for vacation use-case
func NewService ¶
func NewService(r domain.VacationRequestRepository) Service
NewService creates an applyForVacation service with the necessary dependencies
Click to show internal directories.
Click to hide internal directories.