Documentation ¶
Index ¶
Constants ¶
View Source
const (
// API is the format string for a sourceforge RSS feed
API = "https://sourceforge.net/projects/%s/rss?path=/%s"
)
Variables ¶
View Source
var ProjectRegex = regexp.MustCompile("https?://.*sourceforge.net/projects?/(.+)/(?:files/)?(.+?/)?(.+?)-([\\d]+(?:.\\d+)*\\w*?).+$")
ProjectRegex matches SourceForge sources
View Source
var TarballRegex = regexp.MustCompile("https?://.*sourceforge.net/projects?/(.+)/files/(.+/)?(.+?)-([\\d]+(?:.\\d+)*\\w*?)\\.(?:zip|tar\\..+z.*)(?:\\/download)?$")
TarballRegex matches SourceForge sources
Functions ¶
This section is empty.
Types ¶
type Item ¶
type Item struct { XMLName xml.Name `xml:"item"` Link string `xml:"link"` Date string `xml:"pubDate"` }
Item represents an entry in the RSS Feed
Click to show internal directories.
Click to hide internal directories.