Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnswerBase ¶
type AnswerBase struct {
// QuestionId is the unique identifier of the question this answer is for.
QuestionId uuid.UUID
}
func (AnswerBase) Question ¶
func (a AnswerBase) Question() uuid.UUID
type CheckboxAnswer ¶
type CheckboxAnswer struct {
AnswerBase
// Values is the list of selected options.
Values []int
}
type QuestionData ¶
type RadioAnswer ¶
type RadioAnswer struct {
AnswerBase
// Value is the selected option.
Value int
}
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func (*Service) ParseResponse ¶
type TextAnswer ¶
type TextAnswer struct {
AnswerBase
// Value is the text answer.
Value string
}
Click to show internal directories.
Click to hide internal directories.