Add PostCount property to Category
This commit is contained in:
@@ -16,6 +16,7 @@ type Category struct {
|
||||
Hashtag string `json:"hashtag"`
|
||||
Slug string `json:"slug"`
|
||||
Title string `json:"title"`
|
||||
PostCount int64 `json:"post_count"`
|
||||
}
|
||||
|
||||
// NewCategory creates a Category you can insert into the database, based on a hashtag. It automatically breaks up the
|
||||
|
||||
Reference in New Issue
Block a user