diff options
author | Steve Manuel <nilslice@gmail.com> | 2016-10-09 16:27:33 -0700 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2016-10-09 16:27:33 -0700 |
commit | a7f5427fee80fd638e012de5cfeb48d5be54cbcf (patch) | |
tree | 658014a3eada5009de87f31b8c81a47781923d9b | |
parent | 3b7e6a4cdbda6193cf45b0e60332ca16e68e0010 (diff) |
renaming import paths globally to ensure build is using new files, not ones from original repo
-rw-r--r-- | cmd/ponzu/main.go | 6 | ||||
-rw-r--r-- | cmd/ponzu/options.go | 2 | ||||
-rw-r--r-- | content/post.go | 2 | ||||
-rw-r--r-- | management/manager/manager.go | 2 | ||||
-rw-r--r-- | management/manager/process.go | 3 | ||||
-rw-r--r-- | system/admin/admin.go | 4 | ||||
-rw-r--r-- | system/admin/cache.go | 2 | ||||
-rw-r--r-- | system/admin/config/config.go | 4 | ||||
-rw-r--r-- | system/admin/handlers.go | 13 | ||||
-rw-r--r-- | system/admin/server.go | 2 | ||||
-rw-r--r-- | system/api/handlers.go | 4 | ||||
-rw-r--r-- | system/db/config.go | 3 | ||||
-rw-r--r-- | system/db/content.go | 7 | ||||
-rw-r--r-- | system/db/init.go | 5 | ||||
-rw-r--r-- | system/db/user.go | 3 |
15 files changed, 34 insertions, 28 deletions
diff --git a/cmd/ponzu/main.go b/cmd/ponzu/main.go index a13dd6c..ab824a3 100644 --- a/cmd/ponzu/main.go +++ b/cmd/ponzu/main.go @@ -8,9 +8,9 @@ import ( "os" "strings" - "github.com/bosssauce/ponzu/system/admin" - "github.com/bosssauce/ponzu/system/api" - "github.com/bosssauce/ponzu/system/db" + "../../system/admin" + "../../system/api" + "../../system/db" ) var usage = ` diff --git a/cmd/ponzu/options.go b/cmd/ponzu/options.go index 2c162ed..8204155 100644 --- a/cmd/ponzu/options.go +++ b/cmd/ponzu/options.go @@ -57,7 +57,7 @@ package content import ( "fmt" - "github.com/bosssauce/ponzu/management/editor" + "../management/editor" ) // {{ .name }} is the generic content struct diff --git a/content/post.go b/content/post.go index e08106c..99887d8 100644 --- a/content/post.go +++ b/content/post.go @@ -3,7 +3,7 @@ package content import ( "fmt" - "github.com/bosssauce/ponzu/management/editor" + "../management/editor" ) // Post is the generic content struct diff --git a/management/manager/manager.go b/management/manager/manager.go index c0056ac..67cf051 100644 --- a/management/manager/manager.go +++ b/management/manager/manager.go @@ -5,7 +5,7 @@ import ( "fmt" "html/template" - "github.com/bosssauce/ponzu/management/editor" + "../editor" ) const managerHTML = ` diff --git a/management/manager/process.go b/management/manager/process.go index f34bebd..153f8d9 100644 --- a/management/manager/process.go +++ b/management/manager/process.go @@ -5,7 +5,8 @@ import ( "strings" "unicode" - "github.com/bosssauce/ponzu/management/editor" + "../editor" + "golang.org/x/text/transform" "golang.org/x/text/unicode/norm" ) diff --git a/system/admin/admin.go b/system/admin/admin.go index b375eb6..af8e688 100644 --- a/system/admin/admin.go +++ b/system/admin/admin.go @@ -6,8 +6,8 @@ import ( "bytes" "html/template" - "github.com/bosssauce/ponzu/content" - "github.com/bosssauce/ponzu/system/db" + "../../content" + "../../system/db" ) var startAdminHTML = `<!doctype html> diff --git a/system/admin/cache.go b/system/admin/cache.go index 0de45af..0faf7ec 100644 --- a/system/admin/cache.go +++ b/system/admin/cache.go @@ -5,7 +5,7 @@ import ( "net/http" "strings" - "github.com/bosssauce/ponzu/system/db" + "../../system/db" ) // CacheControl sets the default cache policy on static asset responses diff --git a/system/admin/config/config.go b/system/admin/config/config.go index c5ef1cd..0da756f 100644 --- a/system/admin/config/config.go +++ b/system/admin/config/config.go @@ -1,8 +1,8 @@ package config import ( - "github.com/bosssauce/ponzu/content" - "github.com/bosssauce/ponzu/management/editor" + "../../../content" + "../../../management/editor" ) //Config represents the confirgurable options of the system diff --git a/system/admin/handlers.go b/system/admin/handlers.go index 623bcea..32a8e95 100644 --- a/system/admin/handlers.go +++ b/system/admin/handlers.go @@ -12,12 +12,13 @@ import ( "strings" "time" - "github.com/bosssauce/ponzu/content" - "github.com/bosssauce/ponzu/management/editor" - "github.com/bosssauce/ponzu/management/manager" - "github.com/bosssauce/ponzu/system/admin/config" - "github.com/bosssauce/ponzu/system/admin/user" - "github.com/bosssauce/ponzu/system/db" + "../../content" + "../../management/editor" + "../../management/manager" + "../../system/db" + "./config" + "./user" + "github.com/nilslice/jwt" ) diff --git a/system/admin/server.go b/system/admin/server.go index 312a3de..3f02a69 100644 --- a/system/admin/server.go +++ b/system/admin/server.go @@ -3,7 +3,7 @@ package admin import ( "net/http" - "github.com/bosssauce/ponzu/system/admin/user" + "./user" ) // Run adds Handlers to default http listener for Admin diff --git a/system/api/handlers.go b/system/api/handlers.go index 5fb79bc..7828419 100644 --- a/system/api/handlers.go +++ b/system/api/handlers.go @@ -6,8 +6,8 @@ import ( "log" "net/http" - "github.com/bosssauce/ponzu/content" - "github.com/bosssauce/ponzu/system/db" + "../../content" + "../../system/db" ) func typesHandler(res http.ResponseWriter, req *http.Request) { 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 |