Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(file *os.File) repository.FileInterface
Types ¶
type Question ¶
type Question struct { Test string `csv:"Question text"` CreatedAt string `csv:"Created At"` Choice1 string `csv:"Choice 1"` Choice2 string `csv:"Choice"` Choice3 string `csv:"Choice 3"` }
func NewQuestionFromModel ¶
type QuestionList ¶
type QuestionList []Question
func NewQuestionListFromModel ¶
func NewQuestionListFromModel(in model.QuestionList) QuestionList
func (QuestionList) Model ¶
func (q QuestionList) Model() model.QuestionList
Click to show internal directories.
Click to hide internal directories.