Documentation ¶
Overview ¶
Package answer provides Answer for a Question.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Answer ¶
type Answer struct { common.Common `json:",inline" bson:",inline"` // Question at the time of the answer. Question question.Question `json:"question" bson:"question"` // Option is the Option at the time of the answer. Option any `json:"option" bson:"option"` }
Answer is an answer to a question.
func (Answer) GetQuestion ¶
GetQuestion returns the question selected for the answer.
Click to show internal directories.
Click to hide internal directories.