summaryrefslogtreecommitdiff
path: root/management/editor/editor.go
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2016-10-18 18:37:57 -0700
committerSteve Manuel <nilslice@gmail.com>2016-10-18 18:37:57 -0700
commit8aeec907a44a986b6c3975f13573b00a0043f67c (patch)
tree331be5137da43eb944fc6b58f6f96773ccf066b3 /management/editor/editor.go
parentd594cbbea7f4297f1b581ad15643125f0db0c561 (diff)
adding the Touch() method to Sortable interface, which would enable us to sort by updated time
Diffstat (limited to 'management/editor/editor.go')
-rw-r--r--management/editor/editor.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/management/editor/editor.go b/management/editor/editor.go
index 1525ef9..d069047 100644
--- a/management/editor/editor.go
+++ b/management/editor/editor.go
@@ -19,6 +19,7 @@ type Editable interface {
// Sortable ensures data is sortable by time
type Sortable interface {
Time() int64
+ Touch() int64
ContentID() int
}