summaryrefslogtreecommitdiff
path: root/content/item.go
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2016-09-20 00:24:31 -0700
committerSteve Manuel <nilslice@gmail.com>2016-09-20 00:24:31 -0700
commitcb545173a6f33aff050a1855dcb87184d50b79a6 (patch)
treea2293c3712af16d5d3b31dd5bb40ae5501e9b7e9 /content/item.go
parent3bbfb755411768fe8557b1e36ec10d65a351793f (diff)
adding support for boltdb storage, updating and inserting content, some reorganization
Diffstat (limited to 'content/item.go')
-rw-r--r--content/item.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/content/item.go b/content/item.go
new file mode 100644
index 0000000..8b834e4
--- /dev/null
+++ b/content/item.go
@@ -0,0 +1,7 @@
+package content
+
+// Item should only be embedded into content type structs.
+// Helper for DB-related actions
+type Item struct {
+ ID int `json:"id"`
+}