feedback

package
v0.0.39 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2022 License: MIT Imports: 10 Imported by: 0

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 ...

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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