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