summaryrefslogtreecommitdiffstats
path: root/database/postgres
diff options
context:
space:
mode:
Diffstat (limited to 'database/postgres')
-rw-r--r--database/postgres/comments.go4
-rw-r--r--database/postgres/postgres.go2
-rw-r--r--database/postgres/report.go4
-rw-r--r--database/postgres/scrape.go2
-rw-r--r--database/postgres/statements.go2
-rw-r--r--database/postgres/torrent.go2
-rw-r--r--database/postgres/user.go4
-rw-r--r--database/postgres/where.go4
8 files changed, 12 insertions, 12 deletions
diff --git a/database/postgres/comments.go b/database/postgres/comments.go
index 3a31c8e..b4feec0 100644
--- a/database/postgres/comments.go
+++ b/database/postgres/comments.go
@@ -1,8 +1,8 @@
package postgres
import (
- "github.com/ewhal/nyaa/common"
- "github.com/ewhal/nyaa/model"
+ "github.com/NyaaPantsu/nyaa/common"
+ "github.com/NyaaPantsu/nyaa/model"
)
func (db *Database) InsertComment(comment *model.Comment) (err error) {
diff --git a/database/postgres/postgres.go b/database/postgres/postgres.go
index e235ec4..4cb7fcb 100644
--- a/database/postgres/postgres.go
+++ b/database/postgres/postgres.go
@@ -3,7 +3,7 @@ package postgres
import (
"database/sql"
- "github.com/ewhal/nyaa/util/log"
+ "github.com/NyaaPantsu/nyaa/util/log"
_ "github.com/lib/pq"
)
diff --git a/database/postgres/report.go b/database/postgres/report.go
index e1f6a92..a866535 100644
--- a/database/postgres/report.go
+++ b/database/postgres/report.go
@@ -4,8 +4,8 @@ import (
"database/sql"
"fmt"
- "github.com/ewhal/nyaa/common"
- "github.com/ewhal/nyaa/model"
+ "github.com/NyaaPantsu/nyaa/common"
+ "github.com/NyaaPantsu/nyaa/model"
)
func (db *Database) InsertTorrentReport(report *model.TorrentReport) (err error) {
diff --git a/database/postgres/scrape.go b/database/postgres/scrape.go
index 3a81dae..db37ca8 100644
--- a/database/postgres/scrape.go
+++ b/database/postgres/scrape.go
@@ -2,7 +2,7 @@ package postgres
import (
"database/sql"
- "github.com/ewhal/nyaa/common"
+ "github.com/NyaaPantsu/nyaa/common"
)
func (db *Database) RecordScrapes(scrape []common.ScrapeResult) (err error) {
diff --git a/database/postgres/statements.go b/database/postgres/statements.go
index 58ee6ba..923e53f 100644
--- a/database/postgres/statements.go
+++ b/database/postgres/statements.go
@@ -4,7 +4,7 @@ import (
"database/sql"
"fmt"
- "github.com/ewhal/nyaa/model"
+ "github.com/NyaaPantsu/nyaa/model"
)
const queryGetAllTorrents = "GetAllTorrents"
diff --git a/database/postgres/torrent.go b/database/postgres/torrent.go
index bd3e932..77bfc69 100644
--- a/database/postgres/torrent.go
+++ b/database/postgres/torrent.go
@@ -1,7 +1,7 @@
package postgres
import (
- "github.com/ewhal/nyaa/model"
+ "github.com/NyaaPantsu/nyaa/model"
"database/sql"
)
diff --git a/database/postgres/user.go b/database/postgres/user.go
index f7f420a..92c3aa4 100644
--- a/database/postgres/user.go
+++ b/database/postgres/user.go
@@ -4,8 +4,8 @@ import (
"database/sql"
"fmt"
- "github.com/ewhal/nyaa/common"
- "github.com/ewhal/nyaa/model"
+ "github.com/NyaaPantsu/nyaa/common"
+ "github.com/NyaaPantsu/nyaa/model"
)
func userParamToSelectQuery(p *common.UserParam) (q sqlQuery) {
diff --git a/database/postgres/where.go b/database/postgres/where.go
index 845c55b..8f52d9e 100644
--- a/database/postgres/where.go
+++ b/database/postgres/where.go
@@ -5,8 +5,8 @@ import (
"fmt"
"strings"
- "github.com/ewhal/nyaa/common"
- "github.com/ewhal/nyaa/model"
+ "github.com/NyaaPantsu/nyaa/common"
+ "github.com/NyaaPantsu/nyaa/model"
)
// build sql query from SearchParam for torrent search