Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceFeedback ¶
type ServiceFeedback interface { RecordSurveyFeedbackResponse( ctx context.Context, input *domain.SurveyInput, ) }
ServiceFeedback defines the interactions with the feedback service
type ServiceFeedbackImpl ¶
type ServiceFeedbackImpl struct { Repository database.Repository // contains filtered or unexported fields }
ServiceFeedbackImpl is an surveys service
func NewService ¶
func NewService(repository database.Repository) *ServiceFeedbackImpl
NewService initializes a feedback service
func (ServiceFeedbackImpl) RecordSurveyFeedbackResponse ¶
func (s ServiceFeedbackImpl) RecordSurveyFeedbackResponse(ctx context.Context, input domain.SurveyInput) (bool, error)
RecordSurveyFeedbackResponse ...
Click to show internal directories.
Click to hide internal directories.