summaryrefslogtreecommitdiff
path: root/system/db/item.go
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2016-09-19 02:09:29 -0700
committerSteve Manuel <nilslice@gmail.com>2016-09-19 02:09:29 -0700
commit2ed153f8d287b3ffb5e8d1667ab51c922d82c504 (patch)
tree8bde4e8865e5502ff72487252bcd5fcc09cd89c2 /system/db/item.go
parentd62f31d1932125db59c4cf813c54d95a4a0200ee (diff)
reorganizing files and dir structure. adding initial (incomplete) management, types, system and db functionality.
Diffstat (limited to 'system/db/item.go')
-rw-r--r--system/db/item.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/system/db/item.go b/system/db/item.go
new file mode 100644
index 0000000..23e8553
--- /dev/null
+++ b/system/db/item.go
@@ -0,0 +1,8 @@
+// Package db ...
+package db
+
+// Item should only be embedded into content type structs.
+// Helper for DB-related actions
+type Item struct {
+ ID int `json:"_id"`
+}