Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wmentor/rss

Go RSS reader library
https://github.com/wmentor/rss

go go-lib go-library golang golang-library golang-rss-reader rss rss-reader

Last synced: 1 day ago
JSON representation

Go RSS reader library

Awesome Lists containing this project

README

        

Simple RSS reader library for Go

# Install

```
go get github.com/wmentor/rss
```

# Usage

```go
package main

import (
"fmt"

"github.com/wmentor/rss"
)

func main() {

list, err := rss.Get("https://morphs.ru/rss.xml")
if err != nil {
panic(err)
}

for _, rec := range list {
fmt.Printf("Title=%s\nLink=%s\nDecription=%s\n\n", rec.Title, rec.Link, rec.Description)
}
}
```