package store import ( "git.andreafazzi.eu/andrea/probo/client" "git.andreafazzi.eu/andrea/probo/models" ) type ProboCollectorStore interface { ReadAllQuizzes() ([]*models.Quiz, error) ReadQuizByHash(hash string) (*models.Quiz, error) CreateQuiz(r *client.CreateUpdateQuizRequest) (*models.Quiz, error) UpdateQuiz(r *client.CreateUpdateQuizRequest, id string) (*models.Quiz, error) DeleteQuiz(r *client.DeleteQuizRequest) (*models.Quiz, error) }