12 lines
252 B
Go
12 lines
252 B
Go
|
package store
|
||
|
|
||
|
import (
|
||
|
"git.andreafazzi.eu/andrea/testhub/client"
|
||
|
"git.andreafazzi.eu/andrea/testhub/models"
|
||
|
)
|
||
|
|
||
|
type QuizHubCollectorStore interface {
|
||
|
ReadAllQuizzes() ([]*models.Quiz, error)
|
||
|
CreateQuiz(r *client.CreateQuizRequest) *models.Quiz
|
||
|
}
|