Remove unused code

This commit is contained in:
ekzyis 2023-08-22 03:22:03 +02:00
parent 2693ef2378
commit 0e1a3fe25d
1 changed files with 0 additions and 12 deletions

12
main.go
View File

@ -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
}
}
return false
}
func main() {
defer db.Close()
for {