Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/wmentor/rss
- Owner: wmentor
- License: mit
- Created: 2020-06-17T20:03:36.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-01-13T13:31:43.000Z (10 months ago)
- Last Synced: 2024-06-20T11:05:55.098Z (5 months ago)
- Topics: go, go-lib, go-library, golang, golang-library, golang-rss-reader, rss, rss-reader
- Language: Go
- Size: 4.88 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Simple RSS reader library for Go
# Install
```
go get github.com/wmentor/rss
```# Usage
```go
package mainimport (
"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)
}
}
```