summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--content/item.go10
1 files changed, 4 insertions, 6 deletions
diff --git a/content/item.go b/content/item.go
index c9aa423..7b25b14 100644
--- a/content/item.go
+++ b/content/item.go
@@ -1,11 +1,9 @@
package content
-import "time"
-
// Item should only be embedded into content type structs.
type Item struct {
- ID int `json:"id"`
- Slug string `json:"slug"`
- Timestamp time.Time `json:"timestamp"`
- Updated time.Time `json:"updated"`
+ ID int `json:"id"`
+ Slug string `json:"slug"`
+ Timestamp int64 `json:"timestamp"`
+ Updated int64 `json:"updated"`
}