summaryrefslogtreecommitdiff
path: root/system/db/item.go
diff options
context:
space:
mode:
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"`
+}