diff options
Diffstat (limited to 'db')
-rw-r--r-- | db/gorm.go | 6 | ||||
-rw-r--r-- | db/gorm_test.go | 4 |
2 files changed, 5 insertions, 5 deletions
@@ -2,9 +2,9 @@ package db import ( "github.com/azhao12345/gorm" - "github.com/ewhal/nyaa/config" - "github.com/ewhal/nyaa/model" - "github.com/ewhal/nyaa/util/log" + "github.com/NyaaPantsu/nyaa/config" + "github.com/NyaaPantsu/nyaa/model" + "github.com/NyaaPantsu/nyaa/util/log" _ "github.com/jinzhu/gorm/dialects/postgres" _ "github.com/jinzhu/gorm/dialects/sqlite" ) diff --git a/db/gorm_test.go b/db/gorm_test.go index ec61824..ec3e2a7 100644 --- a/db/gorm_test.go +++ b/db/gorm_test.go @@ -5,7 +5,7 @@ import ( "testing" "github.com/azhao12345/gorm" - "github.com/ewhal/nyaa/config" + "github.com/NyaaPantsu/nyaa/config" ) type errorLogger struct { @@ -54,7 +54,7 @@ func TestGormInitSqlite(t *testing.T) { // - psql -c "CREATE USER nyaapantsu WITH PASSWORD 'nyaapantsu';" -U postgres // // Then enable the test by setting this variable to "true" via ldflags: -// go test ./... -v -ldflags="-X github.com/ewhal/nyaa/db.testPostgres=true" +// go test ./... -v -ldflags="-X github.com/NyaaPantsu/nyaa/db.testPostgres=true" var testPostgres = "false" func TestGormInitPostgres(t *testing.T) { |