aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/db/db.go15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/db/db.go b/src/db/db.go
new file mode 100644
index 0000000..62218b2
--- /dev/null
+++ b/src/db/db.go
@@ -0,0 +1,15 @@
+package db
+
+import (
+ "database/sql"
+
+ "gitlab.com/alexkavon/newsstand/src/conf"
+)
+
+type Db struct {
+ Db *sql.DB
+}
+
+func NewDb(config *conf.Conf) *sql.DB {
+ return &sql.DB{}
+}