Documentation ¶
Index ¶
- type MultipleChoiceService
- func (c *MultipleChoiceService) Check(choiceQuestionId uint, answer []string) (bool, uint, error)
- func (c *MultipleChoiceService) ExamCheck(choiceQuestionId uint, answer []string) (bool, error)
- func (c *MultipleChoiceService) FindCanExamQuestion(choiceQuestionId uint) (*po.MultipleChoice, error)
- func (c *MultipleChoiceService) FindCanPracticeQuestion(choiceQuestionId uint) (*po.MultipleChoice, error)
- func (c *MultipleChoiceService) GetAnswer(question *po.MultipleChoice) []int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MultipleChoiceService ¶
type MultipleChoiceService struct{}
func (*MultipleChoiceService) ExamCheck ¶
func (c *MultipleChoiceService) ExamCheck(choiceQuestionId uint, answer []string) (bool, error)
func (*MultipleChoiceService) FindCanExamQuestion ¶
func (c *MultipleChoiceService) FindCanExamQuestion(choiceQuestionId uint) (*po.MultipleChoice, error)
func (*MultipleChoiceService) FindCanPracticeQuestion ¶
func (c *MultipleChoiceService) FindCanPracticeQuestion(choiceQuestionId uint) (*po.MultipleChoice, error)
func (*MultipleChoiceService) GetAnswer ¶
func (c *MultipleChoiceService) GetAnswer(question *po.MultipleChoice) []int
Click to show internal directories.
Click to hide internal directories.