diff options
Diffstat (limited to 'content/item.go')
-rw-r--r-- | content/item.go | 7 |
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"` +} |