diff options
author | Steve Manuel <nilslice@gmail.com> | 2016-12-18 15:06:25 -0800 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2016-12-18 15:06:25 -0800 |
commit | e187d5ee6354acf40ac8178b0a8a631e80e35e8e (patch) | |
tree | f5bef4723710b6d79cef85974bafde149afb44e4 /management/manager | |
parent | 7d87d40f8d0550331d1b19dea2c374ecfbc77d48 (diff) |
moving item and types into system/item package and updating throughout codebase
Diffstat (limited to 'management/manager')
-rw-r--r-- | management/manager/manager.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/management/manager/manager.go b/management/manager/manager.go index 989eb98..5eafb9a 100644 --- a/management/manager/manager.go +++ b/management/manager/manager.go @@ -5,8 +5,8 @@ import ( "fmt" "html/template" - "github.com/bosssauce/ponzu/content" "github.com/bosssauce/ponzu/management/editor" + "github.com/bosssauce/ponzu/system/item" uuid "github.com/satori/go.uuid" ) @@ -121,14 +121,14 @@ func Manage(e editor.Editable, typeName string) ([]byte, error) { return nil, fmt.Errorf("Couldn't marshal editor for content %s. %s", typeName, err.Error()) } - i, ok := e.(content.Identifiable) + i, ok := e.(item.Identifiable) if !ok { - return nil, fmt.Errorf("Content type %s does not implement content.Identifiable.", typeName) + return nil, fmt.Errorf("Content type %s does not implement item.Identifiable.", typeName) } - s, ok := e.(content.Sluggable) + s, ok := e.(item.Sluggable) if !ok { - return nil, fmt.Errorf("Content type %s does not implement content.Sluggable.", typeName) + return nil, fmt.Errorf("Content type %s does not implement item.Sluggable.", typeName) } m := manager{ |