Discover Packages
github.com/manu3618/green-shark
package
module
Version:
v0.0.0-...-20e6b47
Opens a new window with list of versions in this module.
Published: May 5, 2019
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: ? modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
README
README
¶
green-shark
news aggreagator
The goal is to present news article in a fancy way (and play with go).
Install
mkdir <workspace>
cd <workspace>
go mod init .
go get -v "github.com/manu3618/green-shark/"
Features
Road-map
present keyords in timeline
highlight few article based on important keywords
fetch article from rss news
Expand ▾
Collapse ▴
Documentation
¶
func ExtractStopWords() []string
Extract words present in all document of the corpus, likely stop words
Extract words present in corpus
type Link struct {
XMLName xml .Name `link`
Href string `xml:"href,attr"`
}
type RssArticle struct {
XMLName xml .Name `entry`
Title string `xml:"title"`
DateCreated time .Time `xml:"published"`
DateUpdated time .Time `xml:"updated"`
Id string `xml:"id"`
Content string `xml:"content"`
Link Link `xml:"link"`
}
type RssArticles struct {
XMLName xml .Name `feed`
Articles []RssArticle `xml:"entry"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.