summaryrefslogtreecommitdiff
path: root/content/types.go
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2016-12-18 15:06:25 -0800
committerSteve Manuel <nilslice@gmail.com>2016-12-18 15:06:25 -0800
commite187d5ee6354acf40ac8178b0a8a631e80e35e8e (patch)
treef5bef4723710b6d79cef85974bafde149afb44e4 /content/types.go
parent7d87d40f8d0550331d1b19dea2c374ecfbc77d48 (diff)
moving item and types into system/item package and updating throughout codebase
Diffstat (limited to 'content/types.go')
-rw-r--r--content/types.go21
1 files changed, 0 insertions, 21 deletions
diff --git a/content/types.go b/content/types.go
deleted file mode 100644
index 696d589..0000000
--- a/content/types.go
+++ /dev/null
@@ -1,21 +0,0 @@
-package content
-
-const (
- // ErrTypeNotRegistered means content type isn't registered (not found in Types map)
- ErrTypeNotRegistered = `Error:
-There is no type registered for %[1]s
-
-Add this to the file which defines %[1]s{} in the 'content' package:
-
-
- func init() {
- Types["%[1]s"] = func() interface{} { return new(%[1]s) }
- }
-
-
-`
-)
-
-// Types is a map used to reference a type name to its actual Editable type
-// mainly for lookups in /admin route based utilities
-var Types = make(map[string]func() interface{})