diff options
author | Steve <nilslice@gmail.com> | 2016-10-17 21:31:59 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-17 21:31:59 -0700 |
commit | 2f3985491363dc0658ad8cf3a415a77c1825a67a (patch) | |
tree | fa398a23c9e247e9cc7515898f0f6ddabf392f64 /content/item.go | |
parent | 9c8ed5c6a88901bf139bf9bb7b884b222c6053ce (diff) | |
parent | 30b47784c5889539a65cc292066a400aa19c35d0 (diff) |
Merge pull request #2 from bosssauce/ponzu-dev
[core] move content.Item to unix-y Timestamp and Updated fields
Diffstat (limited to 'content/item.go')
-rw-r--r-- | content/item.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/content/item.go b/content/item.go index e96a34e..7b25b14 100644 --- a/content/item.go +++ b/content/item.go @@ -4,5 +4,6 @@ package content type Item struct { ID int `json:"id"` Slug string `json:"slug"` - Timestamp string `json:"timestamp"` + Timestamp int64 `json:"timestamp"` + Updated int64 `json:"updated"` } |