refactor(models): reorganized structs
Signed-off-by: SoXX <soxx@fenpa.ws>
This commit is contained in:
parent
0620d2919e
commit
6cabcf9beb
@ -13,8 +13,3 @@ type FavoritePost struct {
|
|||||||
type FavoriteList struct {
|
type FavoriteList struct {
|
||||||
Posts []FavoritePost `json:"posts,omitempty"`
|
Posts []FavoritePost `json:"posts,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type TagsWithFrequency struct {
|
|
||||||
Frequency int64 `json:"frequency"`
|
|
||||||
Tags AnthroveTag `json:"tags"`
|
|
||||||
}
|
|
@ -4,3 +4,8 @@ type AnthroveTag struct {
|
|||||||
Name string `json:"name" format:"string"`
|
Name string `json:"name" format:"string"`
|
||||||
Type string `json:"type" format:"string"`
|
Type string `json:"type" format:"string"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type TagsWithFrequency struct {
|
||||||
|
Frequency int64 `json:"frequency"`
|
||||||
|
Tags AnthroveTag `json:"tags"`
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user