@ -12,18 +12,6 @@ func WaitUntilNextUpdate() {
time.Sleep(dur)
}
func contains(rss *Rss, a Item) bool {
if rss == nil {
return false
for _, x := range rss.Channel.Items {
if x.Title == a.Title {
return true
func main() {
defer db.Close()
for {