A go wrapper for the google news rss feed
Returns the top news based on the configured region and language
Enables searching for specific keywords and retrieving articles for a given period (last 7 days) or a custom time frame (before, after)
Returns the latest articles for topics such as Business, Health, etc
go get github.com/TomRomeo/googleNews
func main() {
gn := googleNews.New("en", "US")
articles, err := gn.TopNews()
if err != nil {
log.Fatal(err)
}
log.Println("Current top news for your region:")
for _, art := range *articles {
log.Println(art.Title)
}
}