summaryrefslogtreecommitdiff
path: root/internal/database/repos/questions.go
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2025-04-06 09:13:46 +0300
committerGrail Finder (aider) <wohilas@gmail.com>2025-04-06 09:13:46 +0300
commitde9367030b8089a5cb0cc129e889b6012c668e19 (patch)
treeb3e67c8b76164e4bf030719ef90aba86ef10bedf /internal/database/repos/questions.go
parent5515c456d5cf69e83bccb91b015056478633b285 (diff)
feat: add DBGetMixedUbung method to QuestionsRepo interface
Diffstat (limited to 'internal/database/repos/questions.go')
-rw-r--r--internal/database/repos/questions.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/database/repos/questions.go b/internal/database/repos/questions.go
index d9978a4..67f9d1f 100644
--- a/internal/database/repos/questions.go
+++ b/internal/database/repos/questions.go
@@ -4,6 +4,7 @@ import "demoon/internal/models"
type QuestionsRepo interface {
DBGetQuestion(id string) (*models.Question, error)
+ DBGetMixedUbung(id uint32) (*models.MixedUbung, error) // implemet; ai!
}
func (p *Provider) DBGetQuestion(id string) (*models.Question, error) {