probo/store/store.go

12 lines
257 B
Go
Raw Normal View History

2022-06-23 11:25:35 +02:00
package store
import (
2022-06-24 18:56:06 +02:00
"git.andreafazzi.eu/andrea/probo/client"
"git.andreafazzi.eu/andrea/probo/models"
2022-06-23 11:25:35 +02:00
)
type QuizHubCollectorStore interface {
ReadAllQuizzes() ([]*models.Quiz, error)
2022-06-24 18:56:06 +02:00
CreateQuiz(r *client.CreateQuizRequest) (*models.Quiz, error)
2022-06-23 11:25:35 +02:00
}