diff options
Diffstat (limited to 'content')
-rw-r--r-- | content/item.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/content/item.go b/content/item.go index 79d0197..f4a5489 100644 --- a/content/item.go +++ b/content/item.go @@ -13,6 +13,11 @@ func (i Item) Time() int64 { return i.Timestamp } +// Touch partially implements the Sortable interface +func (i Item) Touch() int64 { + return i.Updated +} + // ContentID partially implements the Sortable interface func (i Item) ContentID() int { return i.ID |