aboutsummaryrefslogtreecommitdiff
path: root/internal/models/comment.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/models/comment.go')
-rw-r--r--internal/models/comment.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/internal/models/comment.go b/internal/models/comment.go
new file mode 100644
index 0000000..df27ca3
--- /dev/null
+++ b/internal/models/comment.go
@@ -0,0 +1,12 @@
+package models
+
+import "time"
+
+type Comment struct {
+ Id int
+ IsVerified bool
+ Time time.Time
+ FormattedTime string
+ Name string
+ Content string
+}