13 lines
342 B
Go
13 lines
342 B
Go
package store
|
|
|
|
import (
|
|
"git.andreafazzi.eu/andrea/probo/client"
|
|
"git.andreafazzi.eu/andrea/probo/models"
|
|
)
|
|
|
|
type ProboCollectorStore interface {
|
|
ReadAllQuizzes() ([]*models.Quiz, error)
|
|
|
|
CreateQuiz(r *client.CreateUpdateQuizRequest) (*models.Quiz, error)
|
|
UpdateQuiz(r *client.CreateUpdateQuizRequest, id string) (*models.Quiz, error)
|
|
}
|