summaryrefslogtreecommitdiff
path: root/internal/database/repos
diff options
context:
space:
mode:
Diffstat (limited to 'internal/database/repos')
-rw-r--r--internal/database/repos/main.go15
1 files changed, 15 insertions, 0 deletions
diff --git a/internal/database/repos/main.go b/internal/database/repos/main.go
new file mode 100644
index 0000000..e6f50be
--- /dev/null
+++ b/internal/database/repos/main.go
@@ -0,0 +1,15 @@
+package repos
+
+import (
+ "github.com/jmoiron/sqlx"
+)
+
+type Provider struct {
+ db *sqlx.DB
+}
+
+func NewProvider(conn *sqlx.DB) *Provider {
+ return &Provider{
+ db: conn,
+ }
+}