This commit is contained in:
video-prize-ranch
2022-01-17 17:11:33 -05:00
parent a25b5374c1
commit 34f09c36fb
15 changed files with 150 additions and 119 deletions

View File

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

9
types/Media.go Normal file
View File

@@ -0,0 +1,9 @@
package types
type Media struct {
Id string
Name string
Title string
Description string
Url string
}

8
types/User.go Normal file
View File

@@ -0,0 +1,8 @@
package types
type User struct {
Id string
Username string
Avatar string
CreatedAt string
}