This commit is contained in:
video-prize-ranch
2022-01-18 18:05:06 -05:00
parent 87c8618cf5
commit 4a1309e0dc
13 changed files with 251 additions and 19 deletions

View File

@@ -8,5 +8,6 @@ type Album struct {
Downvotes int64
CreatedAt string
UpdatedAt string
Comments int64
Media []Media
}

15
types/Comment.go Normal file
View File

@@ -0,0 +1,15 @@
package types
type Comment struct {
Comments []Comment
User User
Id string
Comment string
Upvotes int64
Downvotes int64
Platform string
CreatedAt string
RelTime string
UpdatedAt string
DeletedAt string
}