15 lines
259 B
Go
15 lines
259 B
Go
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"`
|
|
}
|