aboutsummaryrefslogtreecommitdiff
path: root/internal/image/model.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--internal/image/model.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/internal/image/model.go b/internal/image/model.go
new file mode 100644
index 0000000..002ad8a
--- /dev/null
+++ b/internal/image/model.go
@@ -0,0 +1,8 @@
+package image
+
+// PostMeta hold data for an image post
+type PostMeta struct {
+ FilePath string `redis:"file_path"`
+ CreatedAt string `redis:"created_at"`
+ UserID string `redis:"user_id"`
+}