diff options
Diffstat (limited to 'management/editor')
-rw-r--r-- | management/editor/editor.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/management/editor/editor.go b/management/editor/editor.go index dc6f181..9ad7690 100644 --- a/management/editor/editor.go +++ b/management/editor/editor.go @@ -16,6 +16,11 @@ type Editable interface { MarshalEditor() ([]byte, error) } +// Sortable ensures data is sortable by time +type Sortable interface { + Time() int64 +} + // Editor is a view containing fields to manage content type Editor struct { ViewBuf *bytes.Buffer |