usecase

package
v0.0.0-...-e1c34d2 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2017 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ParticipantNameFieldID = 2
)

Functions

func NewFeedbackUsecase

func NewFeedbackUsecase(
	classRepository c.Repository,
	presenterRepository p.Repository,
	facilitatorRepository fcl.Repository,
	participantRepository prt.Repository,
	feedbackRepository f.Repository,
) *feedbackUsecase

Types

type FeedbackUsecase

type FeedbackUsecase interface {
	FetchAllFeedbackFields() ([]*feedback.Field, error)
	StorePresenterFeedbackWithMapping(presenterID int64, classID string, sessionID int64, mappings []*Mapping, values [][]string) ([]*feedback.PresenterFeedback, error)
}

type Mapping

type Mapping struct {
	HeaderID int64 `json:"header_id"`
	FieldID  int64 `json:"field_id"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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