multipleChoice

package
v0.0.0-...-9f28539 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MultipleChoiceService

type MultipleChoiceService struct{}

func (*MultipleChoiceService) Check

func (c *MultipleChoiceService) Check(choiceQuestionId uint, answer []string) (bool, uint, error)

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

Jump to

Keyboard shortcuts

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