🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

github.com/sergeyberdnikovich/test_rss_reader

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/sergeyberdnikovich/test_rss_reader

v0.0.0-20200507111855-b55956105ead
Source
Go
Version published
Created
Source

test_rss_reader

a test library for parsing rss for https://www.emerchantpay.com/

Basic Usage:

import rssreader package and call Parse function:

import "github.com/SergeyBerdnikovich/test_rss_reader/pkg/rssreader"

posts, err := rssreader.Parse(context.Background(), []string{"http://feeds.twit.tv/twit.xml"})

where posts is a slice of rss items:

type RssItem struct {
Title       string
Source      string
SourceURL   string
Link        string
PublishDate time.Time
Description string
}

and err is a concatenated error or nil

FAQs

Package last updated on 07 May 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts