aboutsummaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorFelix Hanley <felix@userspace.com.au>2019-10-29 10:58:47 +0000
committerFelix Hanley <felix@userspace.com.au>2019-10-29 10:58:47 +0000
commiteda2530094e72463f6aef6e7f9bf524002e248fa (patch)
tree66e987a6229a159c0eb19c448b3af04db5f56733 /db
parentfbc564026fa84c7f9142cdcf60accdf6b5bdaeaf (diff)
downloaddhtsearch-eda2530094e72463f6aef6e7f9bf524002e248fa.tar.gz
dhtsearch-eda2530094e72463f6aef6e7f9bf524002e248fa.tar.bz2
Remove vendored files and create go.mod
Diffstat (limited to 'db')
-rw-r--r--db/pgsql.go2
-rw-r--r--db/sqlite.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/db/pgsql.go b/db/pgsql.go
index db850c2..63a302d 100644
--- a/db/pgsql.go
+++ b/db/pgsql.go
@@ -6,9 +6,9 @@ import (
"fmt"
"net"
- "github.com/felix/dhtsearch/models"
"github.com/jackc/pgx"
"github.com/jackc/pgx/pgtype"
+ "src.userspace.com.au/dhtsearch/models"
)
// Store is a store
diff --git a/db/sqlite.go b/db/sqlite.go
index e7a7e78..50baf3b 100644
--- a/db/sqlite.go
+++ b/db/sqlite.go
@@ -6,8 +6,8 @@ import (
"net"
"sync"
- "github.com/felix/dhtsearch/models"
_ "github.com/mattn/go-sqlite3"
+ "src.userspace.com.au/dhtsearch/models"
)
// Store is a store