12 lines
320 B
Go
12 lines
320 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)
|
|
UpdateQuiz(r *client.UpdateQuizRequest) (*models.Quiz, error)
|
|
}
|