summaryrefslogtreecommitdiff
path: root/internal/database
diff options
context:
space:
mode:
authorGrailFinder <wohilas@gmail.com>2024-04-28 07:03:36 +0300
committerGrailFinder <wohilas@gmail.com>2024-04-28 07:03:36 +0300
commit8d66ec58e2256412a2fd50ad9e651c09af1ea8cc (patch)
tree23ad5c78ba2b2da32628e9004fe932e6fa63e26b /internal/database
parentb33be53ea9c0be523988a9412fd8e3f6a24782b3 (diff)
Feat: auth middleware; login [wip]
Diffstat (limited to 'internal/database')
-rw-r--r--internal/database/repos/main.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/internal/database/repos/main.go b/internal/database/repos/main.go
index e6f50be..25eeec4 100644
--- a/internal/database/repos/main.go
+++ b/internal/database/repos/main.go
@@ -4,6 +4,11 @@ import (
"github.com/jmoiron/sqlx"
)
+type FullRepo interface {
+ ActionRepo
+ UserScoreRepo
+}
+
type Provider struct {
db *sqlx.DB
}