Skip to content

Alexander96/rssreader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Golang RSS Reader package

About the package

The goal of the package is to parse and return RSS feed from given array of URLs.

Usage

package main

import (
	"fmt"
	rssreader "github.com/Alexander96/rssreader"
)


func main() {
    urls := []string{"http://rss.cnn.com/rss/edition_asia.rss"}
    items, errRss := rssreader.Parse(urls)
    if errRss != nil {
	    fmt.Printf("ERROR: %s\n", errRss)
    }
    fmt.Println(items)
}

Testing

go test -v

Golang version

go1.19.2

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages