Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrQuizAlreadyPresent ¶
type ErrQuizAlreadyPresent struct {
// contains filtered or unexported fields
}
func (*ErrQuizAlreadyPresent) Error ¶
func (e *ErrQuizAlreadyPresent) Error() string
type ErrSessionAlreadyPresent ¶
type ErrSessionAlreadyPresent struct {
// contains filtered or unexported fields
}
func (*ErrSessionAlreadyPresent) Error ¶
func (e *ErrSessionAlreadyPresent) Error() string
type FilterStore ¶
func NewFilterStore ¶
func NewFilterStore[T Storable]() *FilterStore[T]
func (*FilterStore[T]) Filter ¶
func (fs *FilterStore[T]) Filter(slice []T, f func(T) bool) []T
type ParticipantStore ¶
type ParticipantStore struct { *FilterStore[*models.Participant] }
func NewParticipantStore ¶
func NewParticipantStore() *ParticipantStore
func (*ParticipantStore) ImportCSV ¶
func (s *ParticipantStore) ImportCSV(path string) ([]*models.Participant, error)
type QuizStore ¶
type QuizStore struct { // Memory store for quizzes. It satisfies FilterStorer // interface. *FilterStore[*models.Quiz] // contains filtered or unexported fields }
func NewQuizStore ¶
func NewQuizStore() *QuizStore
type ResponseStore ¶
type SessionStore ¶
func NewSessionStore ¶
func NewSessionStore() *SessionStore
Click to show internal directories.
Click to hide internal directories.