summaryrefslogtreecommitdiff
path: root/system/db
diff options
context:
space:
mode:
Diffstat (limited to 'system/db')
-rw-r--r--system/db/config.go3
-rw-r--r--system/db/content.go7
-rw-r--r--system/db/init.go5
-rw-r--r--system/db/user.go3
4 files changed, 11 insertions, 7 deletions
diff --git a/system/db/config.go b/system/db/config.go
index bf531f7..4dc45e2 100644
--- a/system/db/config.go
+++ b/system/db/config.go
@@ -8,8 +8,9 @@ import (
"net/url"
"time"
+ "../admin/config"
+
"github.com/boltdb/bolt"
- "github.com/bosssauce/ponzu/system/admin/config"
"github.com/gorilla/schema"
)
diff --git a/system/db/content.go b/system/db/content.go
index eaf43e8..740e7b1 100644
--- a/system/db/content.go
+++ b/system/db/content.go
@@ -8,10 +8,11 @@ import (
"strconv"
"strings"
+ "../../content"
+ "../../management/editor"
+ "../../management/manager"
+
"github.com/boltdb/bolt"
- "github.com/bosssauce/ponzu/content"
- "github.com/bosssauce/ponzu/management/editor"
- "github.com/bosssauce/ponzu/management/manager"
"github.com/gorilla/schema"
)
diff --git a/system/db/init.go b/system/db/init.go
index 1d94385..3c47717 100644
--- a/system/db/init.go
+++ b/system/db/init.go
@@ -4,9 +4,10 @@ import (
"encoding/json"
"log"
+ "../../content"
+ "../../system/admin/config"
+
"github.com/boltdb/bolt"
- "github.com/bosssauce/ponzu/content"
- "github.com/bosssauce/ponzu/system/admin/config"
"github.com/nilslice/jwt"
)
diff --git a/system/db/user.go b/system/db/user.go
index f6bc4db..f4862b5 100644
--- a/system/db/user.go
+++ b/system/db/user.go
@@ -5,8 +5,9 @@ import (
"encoding/json"
"errors"
+ "../admin/user"
+
"github.com/boltdb/bolt"
- "github.com/bosssauce/ponzu/system/admin/user"
)
// ErrUserExists is used for the db to report to admin user of existing user