Add scores

This commit is contained in:
Dave Gallant
2022-12-23 21:11:19 -05:00
parent fca2f4a5b0
commit e69d0f632e
4 changed files with 13 additions and 6 deletions

View File

@@ -14,7 +14,7 @@ type Topic struct {
PostTime string `json:"post_time"`
LastPostTime string `json:"last_post_time"`
Votes Votes
Score string `json:",omitempty"`
Score int `json:"score"`
} // @name Topic
type Votes struct {