newfetch/newsource/ifeng.go

15 lines
259 B
Go
Raw Permalink Normal View History

2022-07-25 14:38:30 +00:00
package newsource
type IFENGResponse struct {
Data struct {
Items []IFENGItem `json:"items"`
} `json:"data"`
}
type IFENGItem struct {
ID string `json:"id"`
Source string `json:"source"`
Title string `json:"title"`
URL string `json:"url"`
}