16 lines
378 B
Go
16 lines
378 B
Go
package models
|
|
|
|
type FavoriteRelations struct {
|
|
SourcesID string `json:"sources_id"`
|
|
Relations AnthrovePostRelationship `json:"relations"`
|
|
}
|
|
|
|
type FavoritePost struct {
|
|
AnthrovePost AnthrovePost `json:"anthrove_post"`
|
|
Relations []FavoriteRelations `json:"relations"`
|
|
}
|
|
|
|
type FavoriteList struct {
|
|
Posts []FavoritePost `json:"posts,omitempty"`
|
|
}
|