summaryrefslogtreecommitdiff
path: root/content/item.go
diff options
context:
space:
mode:
Diffstat (limited to 'content/item.go')
-rw-r--r--content/item.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/content/item.go b/content/item.go
index 8b834e4..08d6359 100644
--- a/content/item.go
+++ b/content/item.go
@@ -1,7 +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"`
+ ID int `json:"id"`
+ Slug string `json:"slug"`
}