From 287da7acfa71ff07c52035a437209022b4ddc5d6 Mon Sep 17 00:00:00 2001 From: "Grail Finder (aider)" Date: Sat, 5 Apr 2025 15:00:16 +0300 Subject: feat: add DBGetQuestion to FullRepo interface --- internal/database/repos/main.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'internal/database/repos/main.go') diff --git a/internal/database/repos/main.go b/internal/database/repos/main.go index e57855f..f6835c7 100644 --- a/internal/database/repos/main.go +++ b/internal/database/repos/main.go @@ -2,10 +2,12 @@ package repos import ( "github.com/jmoiron/sqlx" + "demoon/internal/models" ) type FullRepo interface { DefaultsRepo + DBGetQuestion(id string) (*models.Question, error) } type Provider struct { -- cgit v1.2.3