2022-01-17 22:11:33 +00:00
|
|
|
package types
|
|
|
|
|
|
|
|
type User struct {
|
2022-02-02 16:05:36 +00:00
|
|
|
Id int64
|
|
|
|
Bio string
|
|
|
|
Username string
|
|
|
|
Points int64
|
|
|
|
Cover string
|
|
|
|
Avatar string
|
|
|
|
CreatedAt string
|
2022-01-28 01:41:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type Submission struct {
|
2022-01-17 22:11:33 +00:00
|
|
|
Id string
|
2022-01-28 01:41:10 +00:00
|
|
|
Title string
|
|
|
|
Link string
|
|
|
|
Cover Media
|
|
|
|
Points int64
|
|
|
|
Upvotes int64
|
|
|
|
Downvotes int64
|
|
|
|
Comments int64
|
|
|
|
Views int64
|
|
|
|
IsAlbum bool
|
2022-01-17 22:11:33 +00:00
|
|
|
}
|