summaryrefslogtreecommitdiff
path: root/system/db
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2016-10-09 16:27:33 -0700
committerSteve Manuel <nilslice@gmail.com>2016-10-09 16:27:33 -0700
commita7f5427fee80fd638e012de5cfeb48d5be54cbcf (patch)
tree658014a3eada5009de87f31b8c81a47781923d9b /system/db
parent3b7e6a4cdbda6193cf45b0e60332ca16e68e0010 (diff)
renaming import paths globally to ensure build is using new files, not ones from original repo
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