aboutsummaryrefslogtreecommitdiff
path: root/backend/notes/note.go
diff options
context:
space:
mode:
Diffstat (limited to 'backend/notes/note.go')
-rw-r--r--backend/notes/note.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/backend/notes/note.go b/backend/notes/note.go
new file mode 100644
index 0000000..1d92948
--- /dev/null
+++ b/backend/notes/note.go
@@ -0,0 +1,13 @@
+package notes
+
+import (
+ "time"
+)
+
+type Note interface {
+ GetID() string
+ GetAuthorDID() string
+ GetAuthorHandle() string
+ GetTimestamp() time.Time
+ GetReplyTo() *string
+}